Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001568, allocations: 195.5 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 64.08 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6052, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.237/0.8423, allocations: 211 MB / 1.223 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.8588, allocations: 10.15 MB / 1.233 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.8607, allocations: 39.75 kB / 1.233 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.8633, allocations: 0.7504 MB / 1.234 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009482/0.8729, allocations: 2.72 MB / 1.236 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005071/0.878, allocations: 1.305 MB / 1.237 GB, free: 80 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005354/0.8833, allocations: 3.16 MB / 1.241 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.8855, allocations: 1.018 MB / 1.242 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.8884, allocations: 1.14 MB / 1.243 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.8915, allocations: 1.137 MB / 1.244 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004446/0.892, allocations: 120 kB / 1.244 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.8983, allocations: 2.856 MB / 1.247 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008926/0.8992, allocations: 498.7 kB / 1.247 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.901, allocations: 0.7234 MB / 1.248 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.9076, allocations: 2.992 MB / 1.251 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9076, allocations: 4 kB / 1.251 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9077, allocations: 0 / 1.251 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.425e-05/0.9077, allocations: 0 / 1.251 GB, free: 2.391 MB / 0.9981 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.005488/0.9132, allocations: 1.788 MB / 1.253 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.9133, allocations: 8.031 kB / 1.253 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.9168, allocations: 438 kB / 1.253 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5274/1.444, allocations: 0.8404 MB / 1.254 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/1.444, allocations: 76.38 kB / 1.254 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/1.445, allocations: 99.08 kB / 1.254 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/1.448, allocations: 1.201 MB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/1.448, allocations: 5.344 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/1.448, allocations: 37.22 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/1.448, allocations: 53.27 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/1.451, allocations: 1.077 MB / 1.256 GB, free: 234.8 MB / 0.9981 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.006304/1.457, allocations: 4.726 MB / 1.261 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/1.459, allocations: 0.9932 MB / 1.262 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/1.46, allocations: 0.5679 MB / 1.262 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/1.46, allocations: 0.6756 MB / 1.263 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/1.46, allocations: 43.66 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.517e-06/1.46, allocations: 0.7812 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.005131/1.466, allocations: 2.295 MB / 1.265 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.466, allocations: 68.06 kB / 1.265 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/1.467, allocations: 0.6398 MB / 1.266 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/1.467, allocations: 41.95 kB / 1.266 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/1.467, allocations: 457.9 kB / 1.266 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/1.467, allocations: 295.2 kB / 1.267 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/1.468, allocations: 136.8 kB / 1.267 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.468, allocations: 392.1 kB / 1.267 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/1.468, allocations: 329 kB / 1.268 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/1.469, allocations: 420.2 kB / 1.268 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.471, allocations: 0.7837 MB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.471, allocations: 1.25 kB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001619/1.472, allocations: 0.9457 MB / 1.27 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.472, allocations: 8.906 kB / 1.27 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.472, allocations: 6.672 kB / 1.27 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/1.473, allocations: 62.23 kB / 1.27 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/1.473, allocations: 151.1 kB / 1.27 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003811/1.474, allocations: 0.6121 MB / 1.27 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.475, allocations: 101.4 kB / 1.271 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/1.475, allocations: 29.59 kB / 1.271 GB, free: 225.5 MB / 0.9981 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.0004789/1.475, allocations: 304.5 kB / 1.271 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.476, allocations: 89.03 kB / 1.271 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/1.477, allocations: 0.9357 MB / 1.272 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.477, allocations: 9.328 kB / 1.272 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.477, allocations: 0 / 1.272 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.478, allocations: 0.9303 MB / 1.273 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/1.482, allocations: 2.113 MB / 1.275 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.482, allocations: 3.312 kB / 1.275 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/1.483, allocations: 190.7 kB / 1.275 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.483, allocations: 10.23 kB / 1.275 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/1.483, allocations: 19.92 kB / 1.275 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.483, allocations: 3.266 kB / 1.275 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.483, allocations: 5.188 kB / 1.275 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/1.485, allocations: 1.391 MB / 1.276 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/1.485, allocations: 251.9 kB / 1.277 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.485, allocations: 16.81 kB / 1.277 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008448/1.486, allocations: 87.12 kB / 1.277 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.486, allocations: 54.83 kB / 1.277 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/1.486, allocations: 24.62 kB / 1.277 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005819/1.487, allocations: 457.5 kB / 1.277 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.487, allocations: 0 / 1.277 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001001/1.488, allocations: 317.5 kB / 1.278 GB, free: 222.1 MB / 0.9981 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.00038/1.488, allocations: 208.3 kB / 1.278 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.491, allocations: 0.9986 MB / 1.279 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.491, allocations: 0 / 1.279 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000607/1.491, allocations: 446.6 kB / 1.279 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.494, allocations: 0.597 MB / 1.28 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/1.497, allocations: 2.75 MB / 1.282 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/1.498, allocations: 1.128 MB / 1.284 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001051/1.499, allocations: 250.3 kB / 1.284 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/1.499, allocations: 82.34 kB / 1.284 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.499, allocations: 0 / 1.284 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.0276/1.527, allocations: 20.32 MB / 1.304 GB, free: 201.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches