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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001483/0.001483, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.777 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.147/3.147, allocations: 0.5107 GB / 0.8158 GB, free: 17.94 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.002295/0.002295, allocations: 71.3 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3486, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2302/0.5788, allocations: 189.4 MB / 1.548 GB, free: 15.97 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.5951, allocations: 9.617 MB / 1.558 GB, free: 6.336 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.5968, allocations: 51.62 kB / 1.558 GB, free: 6.285 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.5992, allocations: 0.7885 MB / 1.559 GB, free: 5.492 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008061/0.6072, allocations: 3.075 MB / 1.562 GB, free: 2.406 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.6111, allocations: 1.454 MB / 1.563 GB, free: 0.9531 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004589/0.6157, allocations: 3.234 MB / 1.566 GB, free: 13.71 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.6172, allocations: 0.7727 MB / 1.567 GB, free: 12.91 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.6197, allocations: 1.328 MB / 1.568 GB, free: 11.58 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.6223, allocations: 1.084 MB / 1.569 GB, free: 10.5 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.6226, allocations: 124 kB / 1.569 GB, free: 10.38 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.6275, allocations: 2.271 MB / 1.572 GB, free: 8.102 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007552/0.6283, allocations: 0.5102 MB / 1.572 GB, free: 7.59 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.6294, allocations: 0.6108 MB / 1.573 GB, free: 6.977 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.6349, allocations: 2.788 MB / 1.575 GB, free: 4.18 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6349, allocations: 0 / 1.575 GB, free: 4.18 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6349, allocations: 0 / 1.575 GB, free: 4.18 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.22e-05/0.635, allocations: 4 kB / 1.575 GB, free: 4.176 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004805/0.6398, allocations: 1.768 MB / 1.577 GB, free: 2.367 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.6398, allocations: 12.03 kB / 1.577 GB, free: 2.355 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/0.6401, allocations: 148 kB / 1.577 GB, free: 2.203 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.6444, allocations: 0.5922 MB / 1.578 GB, free: 1.609 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.6465, allocations: 0.8343 MB / 1.579 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.6466, allocations: 73.98 kB / 1.579 GB, free: 0.6719 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.6468, allocations: 95.94 kB / 1.579 GB, free: 0.5781 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.6497, allocations: 1.473 MB / 1.58 GB, free: 15.02 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.6497, allocations: 3.938 kB / 1.58 GB, free: 15.02 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.6499, allocations: 36 kB / 1.58 GB, free: 14.98 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/0.6499, allocations: 57.92 kB / 1.58 GB, free: 14.93 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.6525, allocations: 1.175 MB / 1.582 GB, free: 13.75 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 preOpt removeSimpleEquations (simulation): time 0.006294/0.6588, allocations: 3.253 MB / 1.585 GB, free: 10.41 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.6608, allocations: 0.9118 MB / 1.586 GB, free: 9.496 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.6622, allocations: 0.6143 MB / 1.586 GB, free: 8.883 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.6623, allocations: 8.656 kB / 1.586 GB, free: 8.875 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.6624, allocations: 47.22 kB / 1.586 GB, free: 8.82 MB / 1.279 GB Notification: Performance of pre-optimization done (n=82): time 2.855e-06/0.6624, allocations: 0 / 1.586 GB, free: 8.82 MB / 1.279 GB Notification: Performance of matching and sorting (n=83): time 0.006183/0.6685, allocations: 2.492 MB / 1.589 GB, free: 6.301 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.6686, allocations: 64.34 kB / 1.589 GB, free: 6.223 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6697, allocations: 0.6451 MB / 1.589 GB, free: 5.566 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.6698, allocations: 45.64 kB / 1.589 GB, free: 5.516 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.6702, allocations: 464.9 kB / 1.59 GB, free: 5.055 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.6705, allocations: 313.3 kB / 1.59 GB, free: 4.746 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.6708, allocations: 134.6 kB / 1.59 GB, free: 4.609 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6709, allocations: 334 kB / 1.591 GB, free: 4.277 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.6717, allocations: 377.8 kB / 1.591 GB, free: 3.91 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.6726, allocations: 482.5 kB / 1.591 GB, free: 3.41 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.6743, allocations: 0.8743 MB / 1.592 GB, free: 2.512 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6743, allocations: 0 / 1.592 GB, free: 2.512 MB / 1.279 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.005747/0.6801, allocations: 1.395 MB / 1.594 GB, free: 1.102 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.6801, allocations: 8.188 kB / 1.594 GB, free: 1.094 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6801, allocations: 4 kB / 1.594 GB, free: 1.09 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008523/0.681, allocations: 304.6 kB / 1.594 GB, free: 0.7891 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.6817, allocations: 151.8 kB / 1.594 GB, free: 0.6406 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009185/0.6909, allocations: 2.88 MB / 1.597 GB, free: 13.65 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.692, allocations: 39.98 kB / 1.597 GB, free: 13.61 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6921, allocations: 24 kB / 1.597 GB, free: 13.59 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.0006406/0.6928, allocations: 309.6 kB / 1.597 GB, free: 13.28 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.6931, allocations: 99.31 kB / 1.597 GB, free: 13.18 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.6934, allocations: 120.6 kB / 1.597 GB, free: 13.06 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.6934, allocations: 8 kB / 1.597 GB, free: 13.05 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6934, allocations: 0 / 1.597 GB, free: 13.05 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/0.6954, allocations: 1.032 MB / 1.598 GB, free: 11.97 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.6996, allocations: 2.079 MB / 1.601 GB, free: 9.844 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6996, allocations: 0 / 1.601 GB, free: 9.844 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.7007, allocations: 207.8 kB / 1.601 GB, free: 9.641 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.7007, allocations: 4 kB / 1.601 GB, free: 9.637 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-05/0.7008, allocations: 23.92 kB / 1.601 GB, free: 9.613 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.7008, allocations: 4 kB / 1.601 GB, free: 9.609 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7008, allocations: 3.938 kB / 1.601 GB, free: 9.605 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.7038, allocations: 1.564 MB / 1.602 GB, free: 8.027 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.7044, allocations: 179.3 kB / 1.602 GB, free: 7.852 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.7046, allocations: 16 kB / 1.602 GB, free: 7.836 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000891/0.7055, allocations: 45.39 kB / 1.603 GB, free: 7.793 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.7056, allocations: 56.83 kB / 1.603 GB, free: 7.734 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.7057, allocations: 27.98 kB / 1.603 GB, free: 7.707 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006955/0.7064, allocations: 467 kB / 1.603 GB, free: 7.254 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7064, allocations: 0 / 1.603 GB, free: 7.254 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001071/0.7075, allocations: 340 kB / 1.603 GB, free: 6.922 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.003417/0.7109, allocations: 2.187 MB / 1.606 GB, free: 4.707 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.713, allocations: 1.003 MB / 1.606 GB, free: 3.691 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.713, allocations: 7.938 kB / 1.606 GB, free: 3.684 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.7139, allocations: 470 kB / 1.607 GB, free: 3.23 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.7168, allocations: 0.6077 MB / 1.608 GB, free: 2.641 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6188/1.336, allocations: 8.661 MB / 1.616 GB, free: 244.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/1.336, allocations: 0.5325 MB / 1.617 GB, free: 244.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001115/1.337, allocations: 249.3 kB / 1.617 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/1.338, allocations: 397 kB / 1.617 GB, free: 244.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/1.338, allocations: 0 / 1.617 GB, free: 244.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07746/1.416, allocations: 35.91 MB / 1.652 GB, free: 232.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.5, allocations: 11.08 kB / 1.652 GB, free: 232.5 MB / 1.295 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.182734278962016]