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.001743/0.001743, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002555/0.002555, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.222/3.222, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 MB / 0.6231 GB " [Timeout remaining time 176] 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.003052/0.003052, allocations: 60.59 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3962, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2575/0.6537, allocations: 208.4 MB / 1.549 GB, free: 15.35 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.667, allocations: 6.413 MB / 1.555 GB, free: 8.922 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.6693, allocations: 43.69 kB / 1.555 GB, free: 8.879 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.672, allocations: 0.785 MB / 1.556 GB, free: 8.09 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008649/0.6806, allocations: 2.819 MB / 1.559 GB, free: 5.262 MB / 1.248 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.002235/0.6828, allocations: 0.7424 MB / 1.559 GB, free: 4.523 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00541/0.6882, allocations: 3.364 MB / 1.563 GB, free: 1.145 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.69, allocations: 0.813 MB / 1.563 GB, free: 312 kB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.6935, allocations: 1.429 MB / 1.565 GB, free: 14.87 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/0.6966, allocations: 1.15 MB / 1.566 GB, free: 13.72 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.697, allocations: 128 kB / 1.566 GB, free: 13.6 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.7026, allocations: 2.541 MB / 1.569 GB, free: 11.05 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008519/0.7034, allocations: 0.5375 MB / 1.569 GB, free: 10.51 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.705, allocations: 0.743 MB / 1.57 GB, free: 9.766 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006921/0.712, allocations: 2.804 MB / 1.573 GB, free: 6.953 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.712, allocations: 3.938 kB / 1.573 GB, free: 6.949 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.855e-06/0.712, allocations: 0 / 1.573 GB, free: 6.949 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.107e-05/0.712, allocations: 0 / 1.573 GB, free: 6.949 MB / 1.264 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.00574/0.7178, allocations: 1.738 MB / 1.574 GB, free: 5.172 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.7178, allocations: 12.03 kB / 1.574 GB, free: 5.16 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.31e-05/0.7179, allocations: 26.02 kB / 1.574 GB, free: 5.133 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003716/0.7182, allocations: 164.6 kB / 1.574 GB, free: 4.961 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.7209, allocations: 358.8 kB / 1.575 GB, free: 4.609 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.7234, allocations: 0.8064 MB / 1.576 GB, free: 3.777 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.7235, allocations: 78 kB / 1.576 GB, free: 3.699 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.7238, allocations: 103.9 kB / 1.576 GB, free: 3.598 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.7264, allocations: 1.191 MB / 1.577 GB, free: 2.375 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.7265, allocations: 4 kB / 1.577 GB, free: 2.371 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.7266, allocations: 40 kB / 1.577 GB, free: 2.332 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.7267, allocations: 66.06 kB / 1.577 GB, free: 2.266 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.7293, allocations: 1.249 MB / 1.578 GB, free: 1.008 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 preOpt removeSimpleEquations (simulation): time 0.009223/0.7385, allocations: 5.211 MB / 1.583 GB, free: 11.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.74, allocations: 0.8277 MB / 1.584 GB, free: 10.47 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.7409, allocations: 489.1 kB / 1.585 GB, free: 9.984 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 6.321e-05/0.7409, allocations: 16.64 kB / 1.585 GB, free: 9.969 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008823/0.7418, allocations: 488.2 kB / 1.585 GB, free: 9.48 MB / 1.279 GB Notification: Performance of pre-optimization done (n=76): time 3.016e-06/0.7418, allocations: 0 / 1.585 GB, free: 9.48 MB / 1.279 GB Notification: Performance of matching and sorting (n=76): time 0.002392/0.7442, allocations: 1.165 MB / 1.586 GB, free: 8.309 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.7443, allocations: 60.06 kB / 1.586 GB, free: 8.238 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/0.7453, allocations: 0.5744 MB / 1.587 GB, free: 7.656 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.7454, allocations: 41.7 kB / 1.587 GB, free: 7.609 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.7458, allocations: 472.8 kB / 1.587 GB, free: 7.141 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.7462, allocations: 281.5 kB / 1.588 GB, free: 6.863 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.7466, allocations: 130.6 kB / 1.588 GB, free: 6.73 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002927/0.7469, allocations: 390.8 kB / 1.588 GB, free: 6.34 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.7475, allocations: 329.8 kB / 1.588 GB, free: 6.02 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/0.7482, allocations: 444.7 kB / 1.589 GB, free: 5.551 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.7497, allocations: 0.8311 MB / 1.59 GB, free: 4.684 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.7497, allocations: 0 / 1.59 GB, free: 4.684 MB / 1.279 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001947/0.7516, allocations: 0.9265 MB / 1.591 GB, free: 3.75 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.7517, allocations: 19.89 kB / 1.591 GB, free: 3.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.7517, allocations: 4 kB / 1.591 GB, free: 3.727 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.7517, allocations: 8 kB / 1.591 GB, free: 3.719 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.7525, allocations: 155.7 kB / 1.591 GB, free: 3.566 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/0.7525, allocations: 8 kB / 1.591 GB, free: 3.559 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.7535, allocations: 63.5 kB / 1.591 GB, free: 3.496 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.7536, allocations: 28 kB / 1.591 GB, free: 3.469 MB / 1.279 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.0007662/0.7543, allocations: 333.5 kB / 1.591 GB, free: 3.133 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.7546, allocations: 91.42 kB / 1.591 GB, free: 3.043 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.7549, allocations: 103.8 kB / 1.591 GB, free: 2.93 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.7549, allocations: 8 kB / 1.591 GB, free: 2.922 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.7549, allocations: 0 / 1.591 GB, free: 2.922 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/0.7565, allocations: 1.093 MB / 1.592 GB, free: 1.742 MB / 1.279 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.004223/0.7607, allocations: 2.275 MB / 1.595 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7607, allocations: 0 / 1.595 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008778/0.7616, allocations: 179.8 kB / 1.595 GB, free: 15.21 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.7616, allocations: 4 kB / 1.595 GB, free: 15.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.7617, allocations: 19.98 kB / 1.595 GB, free: 15.18 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.7617, allocations: 0 / 1.595 GB, free: 15.18 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7617, allocations: 4 kB / 1.595 GB, free: 15.18 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.7637, allocations: 1.371 MB / 1.596 GB, free: 13.79 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/0.7642, allocations: 171.3 kB / 1.596 GB, free: 13.62 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.7644, allocations: 23.98 kB / 1.596 GB, free: 13.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.765, allocations: 17.69 kB / 1.596 GB, free: 13.58 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.7651, allocations: 48.56 kB / 1.596 GB, free: 13.54 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.7652, allocations: 31.92 kB / 1.596 GB, free: 13.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0005406/0.7657, allocations: 407.1 kB / 1.597 GB, free: 13.11 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.7657, allocations: 0 / 1.597 GB, free: 13.11 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009806/0.7667, allocations: 371.3 kB / 1.597 GB, free: 12.75 MB / 1.295 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.002541/0.7693, allocations: 1.981 MB / 1.599 GB, free: 10.74 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.7706, allocations: 0.759 MB / 1.6 GB, free: 9.98 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7706, allocations: 0 / 1.6 GB, free: 9.98 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006112/0.7712, allocations: 412.2 kB / 1.6 GB, free: 9.582 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.7741, allocations: 0.5906 MB / 1.601 GB, free: 9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.7855, allocations: 7.283 MB / 1.608 GB, free: 1.555 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009944/0.7865, allocations: 1.14 MB / 1.609 GB, free: 392 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009829/0.7875, allocations: 275.1 kB / 1.609 GB, free: 112 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6313/1.419, allocations: 376.6 kB / 1.61 GB, free: 264 MB / 1.295 GB Notification: Performance of SimCode: time 1.472e-06/1.419, allocations: 0 / 1.61 GB, free: 264 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/1.489, allocations: 26.74 MB / 1.636 GB, free: 257.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14.31, allocations: 11.73 kB / 1.636 GB, free: 257.4 MB / 1.295 GB " [Timeout remaining time 285] (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.434224919998087]