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.0008231/0.0008231, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008138/0.0008138, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8464/0.8464, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.683/1.683, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.685e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5692/0.5692, allocations: 180.6 MB / 1.176 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008101/0.5773, allocations: 6.011 MB / 1.182 GB, free: 13.59 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008346/0.5782, allocations: 52.16 kB / 1.182 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.5797, allocations: 0.6879 MB / 1.183 GB, free: 13.21 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.585, allocations: 2.873 MB / 1.185 GB, free: 11.66 MB / 1.042 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.001321/0.5864, allocations: 0.7417 MB / 1.186 GB, free: 11.24 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.5891, allocations: 3.385 MB / 1.189 GB, free: 9.637 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.5899, allocations: 0.823 MB / 1.19 GB, free: 9.227 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.5916, allocations: 1.831 MB / 1.192 GB, free: 8.434 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.5929, allocations: 1.024 MB / 1.193 GB, free: 8.105 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.5931, allocations: 132.2 kB / 1.193 GB, free: 8.102 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.5959, allocations: 1.941 MB / 1.195 GB, free: 7.371 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.5963, allocations: 0.5594 MB / 1.196 GB, free: 7.105 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.5968, allocations: 0.5459 MB / 1.196 GB, free: 6.887 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.5993, allocations: 2.813 MB / 1.199 GB, free: 5.965 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5993, allocations: 0 / 1.199 GB, free: 5.965 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5993, allocations: 4.688 kB / 1.199 GB, free: 5.961 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.5993, allocations: 0 / 1.199 GB, free: 5.961 MB / 1.042 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.002476/0.6018, allocations: 1.73 MB / 1.201 GB, free: 4.922 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6018, allocations: 14.09 kB / 1.201 GB, free: 4.918 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.602, allocations: 159.5 kB / 1.201 GB, free: 4.789 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.6031, allocations: 352.8 kB / 1.201 GB, free: 4.629 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.6042, allocations: 0.8116 MB / 1.202 GB, free: 4.039 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.6042, allocations: 81.12 kB / 1.202 GB, free: 4 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6044, allocations: 98.72 kB / 1.202 GB, free: 3.969 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.6058, allocations: 1.397 MB / 1.203 GB, free: 3.023 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.6058, allocations: 0 / 1.203 GB, free: 3.023 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.6059, allocations: 41.81 kB / 1.203 GB, free: 2.992 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/0.6059, allocations: 61.05 kB / 1.204 GB, free: 2.977 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.6073, allocations: 1.239 MB / 1.205 GB, free: 2.355 MB / 1.042 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.00347/0.6107, allocations: 3.124 MB / 1.208 GB, free: 388 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.6116, allocations: 0.8301 MB / 1.209 GB, free: 15.93 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.612, allocations: 488.6 kB / 1.209 GB, free: 15.69 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.6121, allocations: 15.89 kB / 1.209 GB, free: 15.69 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000545/0.6126, allocations: 0.6767 MB / 1.21 GB, free: 15.14 MB / 1.057 GB Notification: Performance of pre-optimization done (n=76): time 2.445e-06/0.6126, allocations: 0 / 1.21 GB, free: 15.14 MB / 1.057 GB Notification: Performance of matching and sorting (n=76): time 0.001233/0.6139, allocations: 1.162 MB / 1.211 GB, free: 14.55 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.6139, allocations: 67.97 kB / 1.211 GB, free: 14.48 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.6143, allocations: 0.5805 MB / 1.211 GB, free: 14.13 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.6144, allocations: 40.27 kB / 1.212 GB, free: 14.09 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.6146, allocations: 469.1 kB / 1.212 GB, free: 13.68 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.6148, allocations: 279.7 kB / 1.212 GB, free: 13.43 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.6149, allocations: 127 kB / 1.212 GB, free: 13.36 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.615, allocations: 385.2 kB / 1.213 GB, free: 12.99 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.6153, allocations: 332.4 kB / 1.213 GB, free: 12.82 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.6157, allocations: 452.6 kB / 1.213 GB, free: 12.53 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.6164, allocations: 0.8165 MB / 1.214 GB, free: 12.04 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6164, allocations: 6.25 kB / 1.214 GB, free: 12.04 MB / 1.057 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008555/0.6173, allocations: 0.9352 MB / 1.215 GB, free: 11.55 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6173, allocations: 8.781 kB / 1.215 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.6173, allocations: 3.062 kB / 1.215 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6173, allocations: 9.281 kB / 1.215 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.6177, allocations: 154.4 kB / 1.215 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.6177, allocations: 19.2 kB / 1.215 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.618, allocations: 68.03 kB / 1.215 GB, free: 11.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.618, allocations: 25.22 kB / 1.215 GB, free: 11.45 MB / 1.057 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.0002804/0.6183, allocations: 333.6 kB / 1.216 GB, free: 11.2 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.6184, allocations: 90.02 kB / 1.216 GB, free: 11.16 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.6185, allocations: 104.5 kB / 1.216 GB, free: 11.07 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6185, allocations: 5.844 kB / 1.216 GB, free: 11.07 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6185, allocations: 3.938 kB / 1.216 GB, free: 11.06 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007974/0.6193, allocations: 1.091 MB / 1.217 GB, free: 10.26 MB / 1.057 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.001843/0.6211, allocations: 2.023 MB / 1.219 GB, free: 8.984 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6211, allocations: 2 kB / 1.219 GB, free: 8.984 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.6216, allocations: 172.4 kB / 1.219 GB, free: 8.949 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6217, allocations: 2.406 kB / 1.219 GB, free: 8.949 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.6217, allocations: 24.2 kB / 1.219 GB, free: 8.934 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.6217, allocations: 0 / 1.219 GB, free: 8.934 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6217, allocations: 2.781 kB / 1.219 GB, free: 8.934 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.6231, allocations: 1.366 MB / 1.221 GB, free: 8.16 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.6233, allocations: 179.1 kB / 1.221 GB, free: 8.039 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.6233, allocations: 25.27 kB / 1.221 GB, free: 8.02 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.6237, allocations: 20.97 kB / 1.221 GB, free: 8.008 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.6237, allocations: 44.31 kB / 1.221 GB, free: 7.98 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.6237, allocations: 26.7 kB / 1.221 GB, free: 7.973 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002975/0.624, allocations: 413.9 kB / 1.221 GB, free: 7.734 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.624, allocations: 0 / 1.221 GB, free: 7.734 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005235/0.6246, allocations: 370.9 kB / 1.222 GB, free: 7.66 MB / 1.057 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.001479/0.626, allocations: 1.966 MB / 1.224 GB, free: 6.332 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0007837/0.6268, allocations: 0.7647 MB / 1.224 GB, free: 5.609 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6268, allocations: 4 kB / 1.224 GB, free: 5.605 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.6272, allocations: 407.5 kB / 1.225 GB, free: 5.211 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6286, allocations: 0.5981 MB / 1.225 GB, free: 4.641 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.635, allocations: 7.171 MB / 1.232 GB, free: 13.3 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.6354, allocations: 0.5466 MB / 1.233 GB, free: 12.73 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0005698/0.636, allocations: 269 kB / 1.233 GB, free: 12.46 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.6363, allocations: 380.4 kB / 1.233 GB, free: 12.09 MB / 1.073 GB Notification: Performance of SimCode: time 6.21e-07/0.6363, allocations: 0 / 1.233 GB, free: 12.09 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.6726, allocations: 28.69 MB / 1.261 GB, free: 15.95 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/8.197, allocations: 9.125 kB / 1.261 GB, free: 15.95 MB / 1.104 GB " [Timeout remaining time 292] (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/jenkins/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: 12.071498779579997]