Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001823/0.001823, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002152/0.002152, allocations: 219.6 kB / 23.03 MB, free: 4.941 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.103/3.103, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",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.001997/0.001997, allocations: 66.7 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3984, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2287/0.6271, allocations: 180.7 MB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.6391, allocations: 5.984 MB / 1.528 GB, free: 4.586 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.6411, allocations: 51.62 kB / 1.528 GB, free: 4.535 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.6434, allocations: 0.6915 MB / 1.528 GB, free: 3.84 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007277/0.6506, allocations: 2.817 MB / 1.531 GB, free: 1.012 MB / 1.217 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.001953/0.6526, allocations: 0.7284 MB / 1.532 GB, free: 292 kB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004687/0.6573, allocations: 3.357 MB / 1.535 GB, free: 12.91 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.6586, allocations: 0.8207 MB / 1.536 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.6614, allocations: 1.437 MB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.6638, allocations: 1.159 MB / 1.538 GB, free: 9.469 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.664, allocations: 128 kB / 1.539 GB, free: 9.344 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.6683, allocations: 1.924 MB / 1.54 GB, free: 7.414 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0009249/0.6692, allocations: 0.5297 MB / 1.541 GB, free: 6.883 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.6704, allocations: 0.6188 MB / 1.542 GB, free: 6.262 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.676, allocations: 2.726 MB / 1.544 GB, free: 3.527 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.676, allocations: 0 / 1.544 GB, free: 3.527 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.984e-06/0.676, allocations: 0 / 1.544 GB, free: 3.527 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.676, allocations: 0 / 1.544 GB, free: 3.527 MB / 1.232 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.004604/0.6806, allocations: 1.734 MB / 1.546 GB, free: 1.754 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6807, allocations: 12.03 kB / 1.546 GB, free: 1.742 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.743e-05/0.6807, allocations: 34.02 kB / 1.546 GB, free: 1.707 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.681, allocations: 160.6 kB / 1.546 GB, free: 1.539 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.6833, allocations: 354.8 kB / 1.546 GB, free: 1.191 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.6849, allocations: 0.8064 MB / 1.547 GB, free: 368 kB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.685, allocations: 81.98 kB / 1.547 GB, free: 284 kB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.6852, allocations: 104 kB / 1.547 GB, free: 180 kB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.6875, allocations: 1.388 MB / 1.549 GB, free: 14.71 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.6875, allocations: 0 / 1.549 GB, free: 14.71 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.6876, allocations: 43.98 kB / 1.549 GB, free: 14.66 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-05/0.6877, allocations: 62.06 kB / 1.549 GB, free: 14.6 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.6897, allocations: 1.253 MB / 1.55 GB, free: 13.34 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.005981/0.6956, allocations: 3.115 MB / 1.553 GB, free: 10.16 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.6971, allocations: 0.832 MB / 1.554 GB, free: 9.328 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007408/0.6978, allocations: 493.3 kB / 1.554 GB, free: 8.836 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.6979, allocations: 8.656 kB / 1.554 GB, free: 8.828 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009208/0.6988, allocations: 0.6853 MB / 1.555 GB, free: 8.082 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 2.995e-06/0.6988, allocations: 4 kB / 1.555 GB, free: 8.078 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.002102/0.7009, allocations: 1.165 MB / 1.556 GB, free: 6.906 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.7009, allocations: 60.06 kB / 1.556 GB, free: 6.836 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.7017, allocations: 0.5744 MB / 1.557 GB, free: 6.254 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.7018, allocations: 45.64 kB / 1.557 GB, free: 6.203 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.7021, allocations: 468.6 kB / 1.557 GB, free: 5.738 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.7024, allocations: 277.5 kB / 1.558 GB, free: 5.465 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.7026, allocations: 130.6 kB / 1.558 GB, free: 5.332 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.7028, allocations: 386.8 kB / 1.558 GB, free: 4.945 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.7033, allocations: 329.8 kB / 1.558 GB, free: 4.625 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.704, allocations: 452.7 kB / 1.559 GB, free: 4.148 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.7052, allocations: 0.8272 MB / 1.56 GB, free: 3.285 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7052, allocations: 4 kB / 1.56 GB, free: 3.281 MB / 1.248 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001509/0.7067, allocations: 0.9339 MB / 1.561 GB, free: 2.34 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7067, allocations: 11.94 kB / 1.561 GB, free: 2.328 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7067, allocations: 0 / 1.561 GB, free: 2.328 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7067, allocations: 8 kB / 1.561 GB, free: 2.32 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.7075, allocations: 160.1 kB / 1.561 GB, free: 2.164 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7075, allocations: 8 kB / 1.561 GB, free: 2.156 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.7082, allocations: 63.52 kB / 1.561 GB, free: 2.094 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.7083, allocations: 24 kB / 1.561 GB, free: 2.07 MB / 1.248 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.0005693/0.7088, allocations: 333.5 kB / 1.561 GB, free: 1.734 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.709, allocations: 83.47 kB / 1.561 GB, free: 1.652 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.7092, allocations: 111.7 kB / 1.561 GB, free: 1.531 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.7092, allocations: 8 kB / 1.561 GB, free: 1.523 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.7092, allocations: 4 kB / 1.561 GB, free: 1.52 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.7105, allocations: 1.089 MB / 1.562 GB, free: 352 kB / 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 postOpt removeSimpleEquations (simulation): time 0.003211/0.7137, allocations: 2.022 MB / 1.564 GB, free: 14.26 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7137, allocations: 4 kB / 1.564 GB, free: 14.26 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008815/0.7146, allocations: 171.8 kB / 1.565 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.7146, allocations: 0 / 1.565 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.7147, allocations: 20 kB / 1.565 GB, free: 14.07 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.7147, allocations: 4 kB / 1.565 GB, free: 14.07 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7147, allocations: 3.938 kB / 1.565 GB, free: 14.06 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.7167, allocations: 1.36 MB / 1.566 GB, free: 12.68 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.7171, allocations: 183.3 kB / 1.566 GB, free: 12.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.7172, allocations: 15.94 kB / 1.566 GB, free: 12.49 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/0.7178, allocations: 24.92 kB / 1.566 GB, free: 12.46 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7179, allocations: 40.58 kB / 1.566 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.718, allocations: 31.92 kB / 1.566 GB, free: 12.39 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005326/0.7185, allocations: 415 kB / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.7185, allocations: 0 / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009957/0.7195, allocations: 371.3 kB / 1.567 GB, free: 11.63 MB / 1.264 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.002497/0.722, allocations: 1.976 MB / 1.569 GB, free: 9.629 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.7234, allocations: 0.763 MB / 1.57 GB, free: 8.863 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7234, allocations: 4 kB / 1.57 GB, free: 8.859 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.724, allocations: 407.5 kB / 1.57 GB, free: 8.465 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.7264, allocations: 0.5876 MB / 1.571 GB, free: 7.887 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.7367, allocations: 7.276 MB / 1.578 GB, free: 460 kB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.7373, allocations: 0.5427 MB / 1.578 GB, free: 15.87 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009778/0.7383, allocations: 279.1 kB / 1.578 GB, free: 15.59 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/0.7389, allocations: 379.3 kB / 1.579 GB, free: 15.22 MB / 1.279 GB Notification: Performance of SimCode: time 8.42e-07/0.7389, allocations: 0 / 1.579 GB, free: 15.22 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05841/0.7973, allocations: 28.48 MB / 1.607 GB, free: 3.312 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.8, allocations: 16.03 kB / 1.607 GB, free: 3.297 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.283754262025468]