Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 218.8 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.968/2.968, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 76 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3696, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2515/0.6211, allocations: 208.4 MB / 1.529 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.6327, allocations: 6.412 MB / 1.536 GB, free: 10.37 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.6343, allocations: 47.62 kB / 1.536 GB, free: 10.32 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.6368, allocations: 0.7811 MB / 1.536 GB, free: 9.535 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00836/0.6451, allocations: 2.824 MB / 1.539 GB, free: 6.699 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.6475, allocations: 0.7429 MB / 1.54 GB, free: 5.961 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005179/0.6526, allocations: 3.36 MB / 1.543 GB, free: 2.586 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.6541, allocations: 0.8169 MB / 1.544 GB, free: 1.742 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.6572, allocations: 1.429 MB / 1.545 GB, free: 316 kB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002938/0.6602, allocations: 1.152 MB / 1.547 GB, free: 15.15 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.6607, allocations: 128 kB / 1.547 GB, free: 15.03 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.6661, allocations: 2.541 MB / 1.549 GB, free: 12.48 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008223/0.6669, allocations: 0.5336 MB / 1.55 GB, free: 11.95 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.6681, allocations: 0.7508 MB / 1.55 GB, free: 11.2 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005564/0.6736, allocations: 2.804 MB / 1.553 GB, free: 8.383 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6737, allocations: 0 / 1.553 GB, free: 8.383 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6737, allocations: 0 / 1.553 GB, free: 8.383 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.417e-05/0.6737, allocations: 0 / 1.553 GB, free: 8.383 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004977/0.6787, allocations: 1.738 MB / 1.555 GB, free: 6.605 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.6787, allocations: 8.031 kB / 1.555 GB, free: 6.598 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/0.679, allocations: 160.6 kB / 1.555 GB, free: 6.43 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.6813, allocations: 362.9 kB / 1.555 GB, free: 6.074 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.6831, allocations: 0.8025 MB / 1.556 GB, free: 5.238 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/0.6832, allocations: 85.92 kB / 1.556 GB, free: 5.152 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.6833, allocations: 104 kB / 1.556 GB, free: 5.051 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.6853, allocations: 1.191 MB / 1.557 GB, free: 3.828 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.6854, allocations: 0 / 1.557 GB, free: 3.828 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.6854, allocations: 36 kB / 1.557 GB, free: 3.793 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.6855, allocations: 62.06 kB / 1.558 GB, free: 3.73 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.6875, allocations: 1.25 MB / 1.559 GB, free: 2.473 MB / 1.248 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.007346/0.6949, allocations: 5.21 MB / 1.564 GB, free: 12.77 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.6963, allocations: 0.8232 MB / 1.565 GB, free: 11.94 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.6971, allocations: 497.2 kB / 1.565 GB, free: 11.45 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.6971, allocations: 16.64 kB / 1.565 GB, free: 11.44 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.6979, allocations: 484.2 kB / 1.566 GB, free: 10.95 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 3.687e-06/0.6979, allocations: 0 / 1.566 GB, free: 10.95 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002159/0.7001, allocations: 1.169 MB / 1.567 GB, free: 9.773 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.7001, allocations: 64.06 kB / 1.567 GB, free: 9.699 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008774/0.701, allocations: 0.5744 MB / 1.567 GB, free: 9.113 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.7011, allocations: 37.7 kB / 1.567 GB, free: 9.07 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.7016, allocations: 476.8 kB / 1.568 GB, free: 8.598 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.7019, allocations: 281.5 kB / 1.568 GB, free: 8.32 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.7021, allocations: 130.7 kB / 1.568 GB, free: 8.188 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.7023, allocations: 378.8 kB / 1.569 GB, free: 7.809 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.7028, allocations: 333.8 kB / 1.569 GB, free: 7.484 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/0.7035, allocations: 448.8 kB / 1.569 GB, free: 7.012 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.7047, allocations: 0.8271 MB / 1.57 GB, free: 6.145 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7047, allocations: 3.938 kB / 1.57 GB, free: 6.141 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001575/0.7063, allocations: 0.9339 MB / 1.571 GB, free: 5.199 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.7063, allocations: 11.94 kB / 1.571 GB, free: 5.188 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.7063, allocations: 4.344 kB / 1.571 GB, free: 5.184 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.7063, allocations: 8 kB / 1.571 GB, free: 5.176 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.707, allocations: 155.8 kB / 1.571 GB, free: 5.023 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.7071, allocations: 7.938 kB / 1.571 GB, free: 5.016 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.7078, allocations: 67.5 kB / 1.571 GB, free: 4.949 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.7079, allocations: 24 kB / 1.571 GB, free: 4.926 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0006243/0.7085, allocations: 325.6 kB / 1.572 GB, free: 4.598 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.7088, allocations: 91.41 kB / 1.572 GB, free: 4.508 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.7091, allocations: 111.8 kB / 1.572 GB, free: 4.391 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.7091, allocations: 12 kB / 1.572 GB, free: 4.379 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.7091, allocations: 0 / 1.572 GB, free: 4.379 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/0.7106, allocations: 1.097 MB / 1.573 GB, free: 3.195 MB / 1.264 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 postOpt removeSimpleEquations (simulation): time 0.003968/0.7145, allocations: 2.267 MB / 1.575 GB, free: 0.8516 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.7145, allocations: 7.984 kB / 1.575 GB, free: 0.8438 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00089/0.7154, allocations: 171.8 kB / 1.575 GB, free: 0.6758 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.7154, allocations: 7.984 kB / 1.575 GB, free: 0.668 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.7155, allocations: 16 kB / 1.575 GB, free: 0.6523 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.7155, allocations: 7.938 kB / 1.575 GB, free: 0.6445 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7155, allocations: 3.938 kB / 1.575 GB, free: 0.6406 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.7176, allocations: 1.36 MB / 1.577 GB, free: 15.26 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.7181, allocations: 179.3 kB / 1.577 GB, free: 15.08 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.7183, allocations: 19.98 kB / 1.577 GB, free: 15.06 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.7191, allocations: 20 kB / 1.577 GB, free: 15.04 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7192, allocations: 44.56 kB / 1.577 GB, free: 15 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.7192, allocations: 27.98 kB / 1.577 GB, free: 14.97 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006478/0.7199, allocations: 415 kB / 1.577 GB, free: 14.57 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.7199, allocations: 3.938 kB / 1.577 GB, free: 14.57 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001097/0.721, allocations: 371.3 kB / 1.578 GB, free: 14.2 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.002546/0.7235, allocations: 1.977 MB / 1.58 GB, free: 12.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.7249, allocations: 0.7668 MB / 1.58 GB, free: 11.43 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7249, allocations: 0 / 1.58 GB, free: 11.43 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.7254, allocations: 407.5 kB / 1.581 GB, free: 11.04 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.7283, allocations: 0.5888 MB / 1.581 GB, free: 10.46 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.7402, allocations: 7.294 MB / 1.588 GB, free: 3.004 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.7413, allocations: 1.136 MB / 1.59 GB, free: 1.84 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001036/0.7424, allocations: 275.2 kB / 1.59 GB, free: 1.566 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006659/0.743, allocations: 379.3 kB / 1.59 GB, free: 1.195 MB / 1.279 GB Notification: Performance of SimCode: time 9.62e-07/0.743, allocations: 3.938 kB / 1.59 GB, free: 1.191 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6597/1.403, allocations: 26.7 MB / 1.616 GB, free: 279.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.49, allocations: 5.25 kB / 1.616 GB, free: 279.9 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.858124899910763]