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.001406/0.001406, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001678/0.001678, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.754 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.236/3.236, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_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.002037/0.002037, allocations: 67.41 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2198/0.5541, allocations: 180.9 MB / 1.54 GB, free: 8.555 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.565, allocations: 6.002 MB / 1.546 GB, free: 2.539 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.5663, allocations: 47.69 kB / 1.546 GB, free: 2.492 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.5682, allocations: 0.6993 MB / 1.547 GB, free: 1.789 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007189/0.5754, allocations: 2.807 MB / 1.549 GB, free: 14.97 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.002025/0.5774, allocations: 0.7346 MB / 1.55 GB, free: 14.24 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00496/0.5824, allocations: 3.321 MB / 1.553 GB, free: 10.91 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.5838, allocations: 0.8051 MB / 1.554 GB, free: 10.08 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.5869, allocations: 1.437 MB / 1.555 GB, free: 8.637 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.5896, allocations: 1.114 MB / 1.557 GB, free: 7.523 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.5899, allocations: 132 kB / 1.557 GB, free: 7.395 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005/0.5949, allocations: 1.897 MB / 1.559 GB, free: 5.492 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008461/0.5957, allocations: 0.5297 MB / 1.559 GB, free: 4.961 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.5969, allocations: 0.6188 MB / 1.56 GB, free: 4.34 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.6031, allocations: 2.726 MB / 1.562 GB, free: 1.605 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.6031, allocations: 4 kB / 1.562 GB, free: 1.602 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6031, allocations: 0 / 1.562 GB, free: 1.602 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.342e-05/0.6031, allocations: 0 / 1.562 GB, free: 1.602 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.004737/0.6078, allocations: 1.73 MB / 1.564 GB, free: 15.83 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.6079, allocations: 16.03 kB / 1.564 GB, free: 15.81 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/0.6081, allocations: 160.5 kB / 1.564 GB, free: 15.65 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.6104, allocations: 358.9 kB / 1.565 GB, free: 15.3 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.6122, allocations: 0.8103 MB / 1.565 GB, free: 14.46 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.6123, allocations: 78.02 kB / 1.565 GB, free: 14.38 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.6125, allocations: 99.98 kB / 1.565 GB, free: 14.28 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.6149, allocations: 1.392 MB / 1.567 GB, free: 12.81 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.6149, allocations: 0 / 1.567 GB, free: 12.81 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.615, allocations: 43.98 kB / 1.567 GB, free: 12.77 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/0.6151, allocations: 62.06 kB / 1.567 GB, free: 12.7 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.6173, allocations: 1.246 MB / 1.568 GB, free: 11.45 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.006293/0.6236, allocations: 3.118 MB / 1.571 GB, free: 8.27 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.625, allocations: 0.8302 MB / 1.572 GB, free: 7.43 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007636/0.6258, allocations: 485.1 kB / 1.572 GB, free: 6.953 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.6258, allocations: 16.64 kB / 1.572 GB, free: 6.938 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009239/0.6268, allocations: 0.6814 MB / 1.573 GB, free: 6.191 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 3.276e-06/0.6268, allocations: 0 / 1.573 GB, free: 6.191 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002162/0.6289, allocations: 1.165 MB / 1.574 GB, free: 5.02 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.629, allocations: 60.06 kB / 1.574 GB, free: 4.949 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.6298, allocations: 0.5822 MB / 1.575 GB, free: 4.359 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.6298, allocations: 41.7 kB / 1.575 GB, free: 4.312 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.6302, allocations: 476.8 kB / 1.575 GB, free: 3.84 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.6305, allocations: 277.6 kB / 1.576 GB, free: 3.566 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.6307, allocations: 126.7 kB / 1.576 GB, free: 3.438 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.631, allocations: 386.8 kB / 1.576 GB, free: 3.051 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/0.6315, allocations: 333.8 kB / 1.576 GB, free: 2.727 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.6321, allocations: 452.7 kB / 1.577 GB, free: 2.25 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.6333, allocations: 0.8272 MB / 1.578 GB, free: 1.387 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6333, allocations: 4 kB / 1.578 GB, free: 1.383 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001546/0.6349, allocations: 0.93 MB / 1.579 GB, free: 456 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6349, allocations: 11.94 kB / 1.579 GB, free: 444 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6349, allocations: 0 / 1.579 GB, free: 444 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.6349, allocations: 8 kB / 1.579 GB, free: 436 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.6356, allocations: 156.1 kB / 1.579 GB, free: 280 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.6356, allocations: 15.98 kB / 1.579 GB, free: 264 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/0.6364, allocations: 59.52 kB / 1.579 GB, free: 204 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.6364, allocations: 28 kB / 1.579 GB, free: 176 kB / 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.0005361/0.637, allocations: 333.5 kB / 1.579 GB, free: 15.84 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6371, allocations: 87.42 kB / 1.579 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.6374, allocations: 111.8 kB / 1.579 GB, free: 15.63 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.6374, allocations: 7.984 kB / 1.579 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.6374, allocations: 0 / 1.579 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.6388, allocations: 1.089 MB / 1.58 GB, free: 14.45 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.003327/0.6421, allocations: 2.026 MB / 1.582 GB, free: 12.37 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6421, allocations: 0 / 1.582 GB, free: 12.37 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/0.643, allocations: 175.8 kB / 1.583 GB, free: 12.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.643, allocations: 4 kB / 1.583 GB, free: 12.19 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.6431, allocations: 16 kB / 1.583 GB, free: 12.18 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.6431, allocations: 4 kB / 1.583 GB, free: 12.17 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6431, allocations: 0 / 1.583 GB, free: 12.17 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.6451, allocations: 1.364 MB / 1.584 GB, free: 10.79 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.6456, allocations: 183.3 kB / 1.584 GB, free: 10.61 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6457, allocations: 16 kB / 1.584 GB, free: 10.59 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.6463, allocations: 27.92 kB / 1.584 GB, free: 10.57 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.6464, allocations: 40.58 kB / 1.584 GB, free: 10.53 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/0.6465, allocations: 23.98 kB / 1.584 GB, free: 10.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0005461/0.647, allocations: 422.9 kB / 1.585 GB, free: 10.09 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.647, allocations: 0 / 1.585 GB, free: 10.09 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009313/0.648, allocations: 367.3 kB / 1.585 GB, free: 9.734 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.002485/0.6504, allocations: 1.977 MB / 1.587 GB, free: 7.727 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.6517, allocations: 0.7632 MB / 1.588 GB, free: 6.965 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6517, allocations: 0 / 1.588 GB, free: 6.965 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.6523, allocations: 411.5 kB / 1.588 GB, free: 6.562 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.6549, allocations: 0.5891 MB / 1.589 GB, free: 5.988 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.6662, allocations: 7.275 MB / 1.596 GB, free: 14.55 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.6669, allocations: 0.5466 MB / 1.596 GB, free: 13.97 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00105/0.6679, allocations: 271.1 kB / 1.597 GB, free: 13.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/0.6686, allocations: 383.2 kB / 1.597 GB, free: 13.32 MB / 1.295 GB Notification: Performance of SimCode: time 9.52e-07/0.6686, allocations: 0 / 1.597 GB, free: 13.32 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7523/1.421, allocations: 28.69 MB / 1.625 GB, free: 240.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.79, allocations: 5.797 kB / 1.625 GB, free: 240.9 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: 20.55062341503799]