Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.001833/0.001833, allocations: 109.1 kB / 18.94 MB, free: 2.797 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.001443/0.001443, allocations: 219.6 kB / 22.26 MB, free: 5.207 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.984 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.11/3.11, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.00207/0.00207, allocations: 66.64 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.232/0.5903, allocations: 192.4 MB / 1.541 GB, free: 7.344 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.6011, allocations: 6.305 MB / 1.547 GB, free: 1.023 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.6026, allocations: 55.56 kB / 1.547 GB, free: 0.9688 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.6041, allocations: 0.536 MB / 1.547 GB, free: 440 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005244/0.6093, allocations: 2.038 MB / 1.549 GB, free: 14.38 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.612, allocations: 1.009 MB / 1.55 GB, free: 13.38 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00385/0.6158, allocations: 2.58 MB / 1.553 GB, free: 10.79 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.6169, allocations: 0.6011 MB / 1.554 GB, free: 10.17 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.6191, allocations: 1.121 MB / 1.555 GB, free: 9.047 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.6211, allocations: 0.8407 MB / 1.555 GB, free: 8.211 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.6212, allocations: 88 kB / 1.556 GB, free: 8.125 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.6249, allocations: 1.742 MB / 1.557 GB, free: 6.379 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.6253, allocations: 390.7 kB / 1.558 GB, free: 5.996 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007232/0.6261, allocations: 0.5483 MB / 1.558 GB, free: 5.445 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.6295, allocations: 1.978 MB / 1.56 GB, free: 3.461 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6295, allocations: 0 / 1.56 GB, free: 3.461 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6295, allocations: 0 / 1.56 GB, free: 3.461 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.6295, allocations: 0 / 1.56 GB, free: 3.461 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002495/0.632, allocations: 1.361 MB / 1.561 GB, free: 2.066 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6321, allocations: 8.031 kB / 1.561 GB, free: 2.059 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.6323, allocations: 114.5 kB / 1.562 GB, free: 1.938 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.6347, allocations: 382.9 kB / 1.562 GB, free: 1.562 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.6361, allocations: 0.7247 MB / 1.563 GB, free: 0.8086 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.6362, allocations: 49.31 kB / 1.563 GB, free: 0.7617 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6363, allocations: 71.98 kB / 1.563 GB, free: 0.6914 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.6378, allocations: 0.8135 MB / 1.564 GB, free: 15.86 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.6378, allocations: 7.953 kB / 1.564 GB, free: 15.85 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.6379, allocations: 24 kB / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.6379, allocations: 41.23 kB / 1.564 GB, free: 15.78 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.6393, allocations: 0.6765 MB / 1.564 GB, free: 15.1 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.004521/0.6438, allocations: 3.444 MB / 1.568 GB, free: 11.35 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.6449, allocations: 0.5239 MB / 1.568 GB, free: 10.82 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.6455, allocations: 309.9 kB / 1.568 GB, free: 10.52 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.6456, allocations: 24.42 kB / 1.568 GB, free: 10.49 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6457, allocations: 39 kB / 1.568 GB, free: 10.45 MB / 1.264 GB Notification: Performance of pre-optimization done (n=51): time 2.866e-06/0.6457, allocations: 0 / 1.568 GB, free: 10.45 MB / 1.264 GB Notification: Performance of matching and sorting (n=51): time 0.002004/0.6477, allocations: 0.8499 MB / 1.569 GB, free: 9.586 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.6477, allocations: 67.78 kB / 1.569 GB, free: 9.508 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/0.6485, allocations: 0.5942 MB / 1.57 GB, free: 8.902 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.6485, allocations: 41.7 kB / 1.57 GB, free: 8.855 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.6488, allocations: 396.8 kB / 1.57 GB, free: 8.461 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.649, allocations: 190.3 kB / 1.571 GB, free: 8.273 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.6492, allocations: 90.19 kB / 1.571 GB, free: 8.18 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6494, allocations: 382.8 kB / 1.571 GB, free: 7.797 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.6499, allocations: 232.9 kB / 1.571 GB, free: 7.57 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.6504, allocations: 306.5 kB / 1.572 GB, free: 7.25 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.6514, allocations: 0.5534 MB / 1.572 GB, free: 6.68 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.6514, allocations: 0 / 1.572 GB, free: 6.68 MB / 1.264 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001322/0.6528, allocations: 0.6766 MB / 1.573 GB, free: 5.996 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6528, allocations: 4 kB / 1.573 GB, free: 5.992 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6528, allocations: 0 / 1.573 GB, free: 5.992 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.6528, allocations: 7.938 kB / 1.573 GB, free: 5.984 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.6535, allocations: 143.9 kB / 1.573 GB, free: 5.844 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6535, allocations: 4 kB / 1.573 GB, free: 5.84 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.6542, allocations: 59.58 kB / 1.573 GB, free: 5.781 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.6542, allocations: 16 kB / 1.573 GB, free: 5.766 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0003838/0.6546, allocations: 257.7 kB / 1.573 GB, free: 5.504 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.6547, allocations: 83.48 kB / 1.573 GB, free: 5.422 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.6549, allocations: 87.14 kB / 1.573 GB, free: 5.336 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.6549, allocations: 11.94 kB / 1.573 GB, free: 5.324 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6549, allocations: 0 / 1.573 GB, free: 5.324 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/0.6562, allocations: 0.8613 MB / 1.574 GB, free: 4.379 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.6589, allocations: 1.608 MB / 1.576 GB, free: 2.707 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6589, allocations: 0 / 1.576 GB, free: 2.707 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.6597, allocations: 175.8 kB / 1.576 GB, free: 2.535 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.6597, allocations: 0 / 1.576 GB, free: 2.535 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.6598, allocations: 16 kB / 1.576 GB, free: 2.52 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6598, allocations: 0 / 1.576 GB, free: 2.52 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6598, allocations: 4 kB / 1.576 GB, free: 2.516 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6616, allocations: 1.041 MB / 1.577 GB, free: 1.449 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.662, allocations: 139.4 kB / 1.577 GB, free: 1.312 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.6621, allocations: 12 kB / 1.577 GB, free: 1.301 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.6627, allocations: 35.97 kB / 1.577 GB, free: 1.266 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.6628, allocations: 32.38 kB / 1.577 GB, free: 1.234 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.6628, allocations: 19.98 kB / 1.577 GB, free: 1.215 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005345/0.6634, allocations: 435 kB / 1.578 GB, free: 0.793 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6634, allocations: 0 / 1.578 GB, free: 0.793 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007862/0.6641, allocations: 275.5 kB / 1.578 GB, free: 0.5234 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.002325/0.6665, allocations: 1.656 MB / 1.58 GB, free: 14.83 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.6676, allocations: 0.5362 MB / 1.58 GB, free: 14.29 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6676, allocations: 0 / 1.58 GB, free: 14.29 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.6682, allocations: 290.8 kB / 1.58 GB, free: 14.01 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.6703, allocations: 490.3 kB / 1.581 GB, free: 13.55 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/0.6799, allocations: 6.196 MB / 1.587 GB, free: 7.219 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.6806, allocations: 1.024 MB / 1.588 GB, free: 6.164 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007373/0.6814, allocations: 190.1 kB / 1.588 GB, free: 5.977 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.6818, allocations: 307.3 kB / 1.588 GB, free: 5.68 MB / 1.279 GB Notification: Performance of SimCode: time 9.32e-07/0.6818, allocations: 0 / 1.588 GB, free: 5.68 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7926/1.474, allocations: 22.86 MB / 1.611 GB, free: 255.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.79, allocations: 7.281 kB / 1.611 GB, free: 255.4 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.371304318076]