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.001833/0.001833, allocations: 74.44 kB / 19.01 MB, free: 2.859 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.002566/0.002566, allocations: 158.8 kB / 22.26 MB, free: 5.105 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.551/1.551, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.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 2.87/2.87, allocations: 394.6 MB / 0.6383 GB, free: 11.7 MB / 0.6075 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: translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") [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.002121/0.002121, allocations: 71.89 kB / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376/1.378, allocations: 181.9 MB / 1.187 GB, free: 16.05 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2942/1.672, allocations: 189.2 MB / 1.371 GB, free: 7.867 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01702/1.689, allocations: 9.603 MB / 1.381 GB, free: 14.24 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/1.692, allocations: 47.62 kB / 1.381 GB, free: 14.2 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002614/1.694, allocations: 0.7963 MB / 1.382 GB, free: 13.39 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/1.705, allocations: 3.077 MB / 1.385 GB, free: 10.3 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00596/1.711, allocations: 1.455 MB / 1.386 GB, free: 8.852 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007879/1.719, allocations: 3.251 MB / 1.389 GB, free: 5.59 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/1.721, allocations: 0.7727 MB / 1.39 GB, free: 4.797 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/1.726, allocations: 1.737 MB / 1.392 GB, free: 3.055 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/1.73, allocations: 1.087 MB / 1.393 GB, free: 1.969 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003831/1.731, allocations: 128 kB / 1.393 GB, free: 1.844 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008945/1.739, allocations: 2.271 MB / 1.395 GB, free: 15.57 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/1.741, allocations: 0.5063 MB / 1.395 GB, free: 15.06 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/1.742, allocations: 0.6108 MB / 1.396 GB, free: 14.45 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007828/1.75, allocations: 2.788 MB / 1.399 GB, free: 11.65 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/1.75, allocations: 0 / 1.399 GB, free: 11.65 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.477e-06/1.75, allocations: 0 / 1.399 GB, free: 11.65 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.859e-05/1.75, allocations: 0 / 1.399 GB, free: 11.65 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005063/1.755, allocations: 1.776 MB / 1.401 GB, free: 9.832 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/1.755, allocations: 8.031 kB / 1.401 GB, free: 9.824 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004165/1.759, allocations: 0.5883 MB / 1.401 GB, free: 9.234 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/1.761, allocations: 0.8266 MB / 1.402 GB, free: 8.375 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/1.761, allocations: 73.98 kB / 1.402 GB, free: 8.305 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/1.761, allocations: 104 kB / 1.402 GB, free: 8.203 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1.764, allocations: 1.465 MB / 1.404 GB, free: 6.652 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/1.764, allocations: 7.938 kB / 1.404 GB, free: 6.645 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.764, allocations: 39.94 kB / 1.404 GB, free: 6.605 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/1.764, allocations: 53.98 kB / 1.404 GB, free: 6.555 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/1.767, allocations: 1.183 MB / 1.405 GB, free: 5.371 MB / 1.248 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.005723/1.772, allocations: 3.125 MB / 1.408 GB, free: 2.176 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/1.774, allocations: 0.9081 MB / 1.409 GB, free: 1.262 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.776, allocations: 0.6147 MB / 1.409 GB, free: 0.6484 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 6.219e-05/1.776, allocations: 8.656 kB / 1.409 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/1.776, allocations: 47.22 kB / 1.409 GB, free: 0.5859 MB / 1.248 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/1.776, allocations: 0 / 1.409 GB, free: 0.5859 MB / 1.248 GB Notification: Performance of matching and sorting (n=83): time 0.005757/1.782, allocations: 2.484 MB / 1.412 GB, free: 14.07 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/1.782, allocations: 64.34 kB / 1.412 GB, free: 14 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008435/1.782, allocations: 0.6096 MB / 1.412 GB, free: 13.38 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/1.783, allocations: 45.7 kB / 1.412 GB, free: 13.32 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/1.783, allocations: 460.9 kB / 1.413 GB, free: 12.87 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/1.783, allocations: 313.3 kB / 1.413 GB, free: 12.56 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/1.784, allocations: 134.6 kB / 1.413 GB, free: 12.42 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002296/1.784, allocations: 390.7 kB / 1.414 GB, free: 12.03 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/1.785, allocations: 373.8 kB / 1.414 GB, free: 11.66 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/1.785, allocations: 482.4 kB / 1.415 GB, free: 11.17 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/1.787, allocations: 0.8821 MB / 1.415 GB, free: 10.26 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.787, allocations: 0 / 1.415 GB, free: 10.26 MB / 1.264 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.005679/1.793, allocations: 1.391 MB / 1.417 GB, free: 8.859 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.793, allocations: 8 kB / 1.417 GB, free: 8.852 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.793, allocations: 0 / 1.417 GB, free: 8.852 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008982/1.794, allocations: 304.8 kB / 1.417 GB, free: 8.551 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/1.794, allocations: 155.8 kB / 1.417 GB, free: 8.398 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009152/1.804, allocations: 2.86 MB / 1.42 GB, free: 5.438 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.805, allocations: 35.97 kB / 1.42 GB, free: 5.402 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/1.805, allocations: 24 kB / 1.42 GB, free: 5.379 MB / 1.264 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.0007057/1.806, allocations: 305.7 kB / 1.42 GB, free: 5.07 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/1.806, allocations: 91.44 kB / 1.42 GB, free: 4.98 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/1.806, allocations: 120.2 kB / 1.421 GB, free: 4.859 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.806, allocations: 8 kB / 1.421 GB, free: 4.852 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.806, allocations: 0 / 1.421 GB, free: 4.852 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001885/1.808, allocations: 1.028 MB / 1.422 GB, free: 3.77 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/1.812, allocations: 1.958 MB / 1.423 GB, free: 1.781 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.812, allocations: 3.938 kB / 1.423 GB, free: 1.777 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.813, allocations: 215.7 kB / 1.424 GB, free: 1.566 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.813, allocations: 0 / 1.424 GB, free: 1.566 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/1.813, allocations: 20 kB / 1.424 GB, free: 1.547 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.813, allocations: 4 kB / 1.424 GB, free: 1.543 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.813, allocations: 0 / 1.424 GB, free: 1.543 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.816, allocations: 1.561 MB / 1.425 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/1.817, allocations: 187.2 kB / 1.425 GB, free: 15.78 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.817, allocations: 19.98 kB / 1.425 GB, free: 15.76 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/1.817, allocations: 38.03 kB / 1.425 GB, free: 15.73 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.818, allocations: 52.89 kB / 1.426 GB, free: 15.68 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/1.818, allocations: 27.98 kB / 1.426 GB, free: 15.65 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006367/1.818, allocations: 431 kB / 1.426 GB, free: 15.23 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/1.818, allocations: 0 / 1.426 GB, free: 15.23 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001185/1.819, allocations: 335.9 kB / 1.426 GB, free: 14.9 MB / 1.279 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.0003572/1.82, allocations: 183.2 kB / 1.426 GB, free: 14.71 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002213/1.822, allocations: 1.003 MB / 1.427 GB, free: 13.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.822, allocations: 64 / 1.427 GB, free: 13.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/1.823, allocations: 469.5 kB / 1.428 GB, free: 13.24 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.826, allocations: 0.5647 MB / 1.428 GB, free: 12.69 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/1.83, allocations: 2.405 MB / 1.431 GB, free: 10.25 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/1.831, allocations: 0.528 MB / 1.431 GB, free: 9.695 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001168/1.832, allocations: 247.4 kB / 1.432 GB, free: 9.449 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/1.833, allocations: 80.48 kB / 1.432 GB, free: 9.371 MB / 1.279 GB Notification: Performance of SimCode: time 1.292e-06/1.833, allocations: 0 / 1.432 GB, free: 9.371 MB / 1.279 GB Notification: Performance of Templates: time 0.04583/1.878, allocations: 25.44 MB / 1.456 GB, free: 376 kB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/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: 11.766685316339135]