Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.89 kB / 0.8126 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8277, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2095/1.037, allocations: 166.9 MB / 1.113 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01516/1.052, allocations: 8.507 MB / 1.121 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/1.055, allocations: 35.81 kB / 1.121 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/1.057, allocations: 0.5706 MB / 1.122 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/1.062, allocations: 1.531 MB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/1.065, allocations: 0.9882 MB / 1.124 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005093/1.07, allocations: 4.109 MB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/1.072, allocations: 1.323 MB / 1.129 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/1.075, allocations: 1.485 MB / 1.131 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/1.078, allocations: 1.511 MB / 1.132 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002766/1.078, allocations: 187.9 kB / 1.132 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/1.081, allocations: 1.108 MB / 1.134 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006404/1.081, allocations: 0.6662 MB / 1.134 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/1.082, allocations: 1.031 MB / 1.135 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003724/1.086, allocations: 2.738 MB / 1.138 GB, free: 440 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.086, allocations: 0 / 1.138 GB, free: 440 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.164e-06/1.086, allocations: 0 / 1.138 GB, free: 440 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.282e-05/1.086, allocations: 0 / 1.138 GB, free: 440 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004521/1.091, allocations: 2.258 MB / 1.14 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.091, allocations: 8.031 kB / 1.14 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002728/1.091, allocations: 223.9 kB / 1.14 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/1.092, allocations: 198.7 kB / 1.141 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/1.093, allocations: 1.142 MB / 1.142 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.949e-05/1.094, allocations: 111 kB / 1.142 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/1.094, allocations: 151.9 kB / 1.142 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/1.097, allocations: 1.931 MB / 1.144 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/1.097, allocations: 7.922 kB / 1.144 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.097, allocations: 64 kB / 1.144 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/1.097, allocations: 36 kB / 1.144 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/1.101, allocations: 2.475 MB / 1.146 GB, free: 7.68 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007985/1.109, allocations: 6.143 MB / 1.152 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/1.113, allocations: 2.798 MB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/1.115, allocations: 1.417 MB / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/1.116, allocations: 1.738 MB / 1.158 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/1.117, allocations: 60.5 kB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 7.093e-06/1.117, allocations: 3.984 kB / 1.158 GB, free: 10.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.005664/1.122, allocations: 3.434 MB / 1.162 GB, free: 7.281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.122, allocations: 73.41 kB / 1.162 GB, free: 7.195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.123, allocations: 0.7782 MB / 1.162 GB, free: 6.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/1.123, allocations: 65.64 kB / 1.162 GB, free: 6.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/1.124, allocations: 490.2 kB / 1.163 GB, free: 5.852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006941/1.125, allocations: 0.793 MB / 1.164 GB, free: 5.047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/1.125, allocations: 355.6 kB / 1.164 GB, free: 4.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.125, allocations: 301.1 kB / 1.164 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.127, allocations: 0.898 MB / 1.165 GB, free: 3.492 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/1.128, allocations: 1.125 MB / 1.166 GB, free: 2.305 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/1.132, allocations: 2.223 MB / 1.168 GB, free: 40 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.132, allocations: 0 / 1.168 GB, free: 40 kB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003962/1.136, allocations: 2.432 MB / 1.171 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.136, allocations: 11.94 kB / 1.171 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.136, allocations: 4.469 kB / 1.171 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.136, allocations: 12 kB / 1.171 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.137, allocations: 439.4 kB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.137, allocations: 12 kB / 1.171 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.138, allocations: 154.3 kB / 1.171 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.139, allocations: 79.98 kB / 1.171 GB, free: 12.89 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007043/1.139, allocations: 437.2 kB / 1.172 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/1.14, allocations: 150.2 kB / 1.172 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.144, allocations: 2.729 MB / 1.175 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/1.144, allocations: 24 kB / 1.175 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.144, allocations: 0 / 1.175 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/1.148, allocations: 2.385 MB / 1.177 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006403/1.154, allocations: 4.294 MB / 1.181 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.154, allocations: 3.938 kB / 1.181 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.156, allocations: 407.4 kB / 1.182 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005879/1.156, allocations: 105.7 kB / 1.182 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/1.156, allocations: 51.98 kB / 1.182 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008073/1.157, allocations: 1.117 MB / 1.183 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.157, allocations: 0 / 1.183 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/1.163, allocations: 4.057 MB / 1.187 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009676/1.164, allocations: 482.6 kB / 1.187 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.164, allocations: 40 kB / 1.187 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/1.165, allocations: 51.98 kB / 1.187 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/1.166, allocations: 141.8 kB / 1.188 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.166, allocations: 71.98 kB / 1.188 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008657/1.167, allocations: 0.5459 MB / 1.188 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.61e-07/1.167, allocations: 0 / 1.188 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001789/1.168, allocations: 0.6436 MB / 1.189 GB, free: 10.93 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007319/1.176, allocations: 4.906 MB / 1.194 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00895/1.185, allocations: 4.855 MB / 1.198 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.185, allocations: 0 / 1.198 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.187, allocations: 1.289 MB / 1.2 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/1.189, allocations: 0.5797 MB / 1.2 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.208, allocations: 14.26 MB / 1.214 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009023/1.209, allocations: 1.343 MB / 1.215 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001981/1.211, allocations: 0.7189 MB / 1.216 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008667/1.212, allocations: 0.6203 MB / 1.217 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of SimCode: time 1.333e-06/1.212, allocations: 4 kB / 1.217 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9634/2.175, allocations: 39.41 MB / 1.255 GB, free: 283.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.94, allocations: 4.688 kB / 1.255 GB, free: 283.4 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches