Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.001575/0.001575, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.00179/0.00179, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.547/1.547, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.665/3.665, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",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.002017/0.002017, allocations: 64.16 kB / 1.172 GB, free: 17.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4548, allocations: 180.2 MB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2937/0.7485, allocations: 217.5 MB / 1.56 GB, free: 15.64 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.7655, allocations: 10.4 MB / 1.57 GB, free: 5.211 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.7677, allocations: 47.62 kB / 1.57 GB, free: 5.164 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.7704, allocations: 0.8781 MB / 1.571 GB, free: 4.281 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009003/0.7794, allocations: 3.033 MB / 1.574 GB, free: 1.238 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004487/0.7839, allocations: 1.436 MB / 1.576 GB, free: 15.8 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005747/0.7896, allocations: 3.187 MB / 1.579 GB, free: 12.6 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.7913, allocations: 0.8426 MB / 1.58 GB, free: 11.74 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.7945, allocations: 1.316 MB / 1.581 GB, free: 10.42 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/0.7976, allocations: 1.143 MB / 1.582 GB, free: 9.277 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.7979, allocations: 124 kB / 1.582 GB, free: 9.156 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007439/0.8054, allocations: 2.95 MB / 1.585 GB, free: 6.199 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0009653/0.8063, allocations: 0.5101 MB / 1.585 GB, free: 5.688 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.8077, allocations: 0.7312 MB / 1.586 GB, free: 4.953 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.007676/0.8154, allocations: 2.874 MB / 1.589 GB, free: 2.07 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8154, allocations: 0 / 1.589 GB, free: 2.07 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8154, allocations: 0 / 1.589 GB, free: 2.07 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.178e-05/0.8155, allocations: 0 / 1.589 GB, free: 2.07 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004688/0.8201, allocations: 1.851 MB / 1.591 GB, free: 164 kB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/0.8202, allocations: 15.98 kB / 1.591 GB, free: 148 kB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002577/0.8205, allocations: 148.1 kB / 1.591 GB, free: 15.99 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.8247, allocations: 0.5921 MB / 1.591 GB, free: 15.4 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.8266, allocations: 0.9026 MB / 1.592 GB, free: 14.45 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/0.8267, allocations: 73.98 kB / 1.592 GB, free: 14.38 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.8269, allocations: 99.95 kB / 1.593 GB, free: 14.29 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.8294, allocations: 1.264 MB / 1.594 GB, free: 12.98 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.8294, allocations: 0 / 1.594 GB, free: 12.98 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.8295, allocations: 40 kB / 1.594 GB, free: 12.95 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.987e-05/0.8296, allocations: 57.91 kB / 1.594 GB, free: 12.89 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.8321, allocations: 1.179 MB / 1.595 GB, free: 11.71 MB / 1.295 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.007154/0.8392, allocations: 5.048 MB / 1.6 GB, free: 6.227 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.8414, allocations: 1.062 MB / 1.601 GB, free: 5.121 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.8427, allocations: 0.6182 MB / 1.602 GB, free: 4.504 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/0.8428, allocations: 12.59 kB / 1.602 GB, free: 4.492 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.8428, allocations: 51.16 kB / 1.602 GB, free: 4.434 MB / 1.295 GB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/0.8428, allocations: 0 / 1.602 GB, free: 4.434 MB / 1.295 GB Notification: Performance of matching and sorting (n=83): time 0.006241/0.8491, allocations: 2.567 MB / 1.604 GB, free: 1.816 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.8491, allocations: 60.41 kB / 1.604 GB, free: 1.742 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.8501, allocations: 0.6529 MB / 1.605 GB, free: 1.082 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.6e-05/0.8502, allocations: 37.7 kB / 1.605 GB, free: 1.039 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.8507, allocations: 468.9 kB / 1.605 GB, free: 0.5742 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.851, allocations: 305.3 kB / 1.606 GB, free: 280 kB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.8513, allocations: 138.6 kB / 1.606 GB, free: 136 kB / 1.295 GB Notification: Performance of setup shared object (initialization): time 1.029/1.88, allocations: 337.6 kB / 1.606 GB, free: 258.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/1.881, allocations: 374.7 kB / 1.606 GB, free: 258.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/1.882, allocations: 482.2 kB / 1.607 GB, free: 258.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/1.884, allocations: 0.8746 MB / 1.608 GB, free: 258.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.884, allocations: 0.9375 kB / 1.608 GB, free: 258.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.006278/1.89, allocations: 1.398 MB / 1.609 GB, free: 258 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.89, allocations: 6.5 kB / 1.609 GB, free: 258 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.89, allocations: 2.188 kB / 1.609 GB, free: 258 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.891, allocations: 302.1 kB / 1.609 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/1.892, allocations: 156.8 kB / 1.61 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009344/1.901, allocations: 3.048 MB / 1.613 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.903, allocations: 38.09 kB / 1.613 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.903, allocations: 31.12 kB / 1.613 GB, free: 255.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0007032/1.904, allocations: 307.9 kB / 1.613 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/1.904, allocations: 97.19 kB / 1.613 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/1.904, allocations: 117.4 kB / 1.613 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.904, allocations: 8.656 kB / 1.613 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.904, allocations: 0.75 kB / 1.613 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002061/1.906, allocations: 1.031 MB / 1.614 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/1.911, allocations: 2.285 MB / 1.616 GB, free: 254 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.911, allocations: 3.938 kB / 1.616 GB, free: 254 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.912, allocations: 208 kB / 1.617 GB, free: 254 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/1.912, allocations: 2.281 kB / 1.617 GB, free: 254 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/1.912, allocations: 22.48 kB / 1.617 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.912, allocations: 2.25 kB / 1.617 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.912, allocations: 5.062 kB / 1.617 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/1.915, allocations: 1.559 MB / 1.618 GB, free: 253.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/1.916, allocations: 261.9 kB / 1.618 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.916, allocations: 21.69 kB / 1.618 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/1.916, allocations: 44.78 kB / 1.618 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.917, allocations: 52.33 kB / 1.618 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/1.917, allocations: 29.45 kB / 1.618 GB, free: 253.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006534/1.917, allocations: 461.6 kB / 1.619 GB, free: 252.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.917, allocations: 0 / 1.619 GB, free: 252.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001762/1.919, allocations: 335.5 kB / 1.619 GB, free: 252.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.003844/1.923, allocations: 2.194 MB / 1.621 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.925, allocations: 1.003 MB / 1.622 GB, free: 251.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.925, allocations: 0 / 1.622 GB, free: 251.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000945/1.926, allocations: 470.7 kB / 1.623 GB, free: 251 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.929, allocations: 0.6017 MB / 1.623 GB, free: 250.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.951, allocations: 8.678 MB / 1.632 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/1.952, allocations: 1.133 MB / 1.633 GB, free: 246.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001411/1.953, allocations: 252.7 kB / 1.633 GB, free: 246.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/1.954, allocations: 392.8 kB / 1.634 GB, free: 245.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.954, allocations: 0 / 1.634 GB, free: 245.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06626/2.02, allocations: 32.91 MB / 1.666 GB, free: 225.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/16.82, allocations: 5.5 kB / 1.666 GB, free: 225.1 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable oriOutTop.port_a.m_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutTop.port_a.m_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutBot.port_a.m_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutBot.port_a.m_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable volEas.T in file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable volEas.T from file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable volOut.T in file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable volOut.T from file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutTop.dp in file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutTop.dp from file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutBot.dp in file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutBot.dp from file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.665208084974438]