Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0009367/0.0009368, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007478/0.007478, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7293, allocations: 142.4 MB / 0.955 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.228/0.9573, allocations: 208.6 MB / 1.159 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.9728, allocations: 10.19 MB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.9747, allocations: 31.81 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.9775, allocations: 0.727 MB / 1.169 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008429/0.986, allocations: 2.72 MB / 1.172 GB, free: 284 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.9899, allocations: 1.294 MB / 1.173 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005878/0.9958, allocations: 4.645 MB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.9975, allocations: 0.8439 MB / 1.179 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.9998, allocations: 0.9531 MB / 1.18 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/1.003, allocations: 1.071 MB / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004466/1.003, allocations: 56 kB / 1.181 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006329/1.01, allocations: 3.195 MB / 1.184 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007957/1.01, allocations: 442.6 kB / 1.184 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/1.012, allocations: 0.6626 MB / 1.185 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005888/1.018, allocations: 2.909 MB / 1.188 GB, free: 156 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/1.018, allocations: 4 kB / 1.188 GB, free: 152 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.675e-06/1.018, allocations: 0 / 1.188 GB, free: 152 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.441e-05/1.018, allocations: 0 / 1.188 GB, free: 152 kB / 0.9356 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.004306/1.022, allocations: 1.555 MB / 1.189 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/1.022, allocations: 8.031 kB / 1.189 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003145/1.025, allocations: 430 kB / 1.19 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/1.027, allocations: 0.855 MB / 1.191 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/1.027, allocations: 70 kB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/1.027, allocations: 95.98 kB / 1.191 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/1.029, allocations: 1.202 MB / 1.192 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.029, allocations: 11.92 kB / 1.192 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.029, allocations: 43.94 kB / 1.192 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.421e-05/1.03, allocations: 49.98 kB / 1.192 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/1.031, allocations: 1.073 MB / 1.193 GB, free: 10.63 MB / 0.9512 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.005921/1.037, allocations: 4.742 MB / 1.198 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.039, allocations: 0.9885 MB / 1.199 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009713/1.04, allocations: 0.5597 MB / 1.199 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006135/1.041, allocations: 0.6772 MB / 1.2 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/1.041, allocations: 43.2 kB / 1.2 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.584e-06/1.041, allocations: 0 / 1.2 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.004567/1.045, allocations: 2.296 MB / 1.202 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/1.045, allocations: 68.34 kB / 1.202 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008757/1.046, allocations: 0.6451 MB / 1.203 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/1.046, allocations: 37.7 kB / 1.203 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/1.047, allocations: 456 kB / 1.203 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/1.047, allocations: 299.5 kB / 1.204 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/1.047, allocations: 65.69 kB / 1.204 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.047, allocations: 394.7 kB / 1.204 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/1.048, allocations: 317.8 kB / 1.204 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/1.048, allocations: 426.5 kB / 1.205 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.049, allocations: 0.7846 MB / 1.205 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.049, allocations: 0 / 1.205 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001557/1.051, allocations: 0.9503 MB / 1.206 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.051, allocations: 4 kB / 1.206 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.051, allocations: 4 kB / 1.206 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/1.051, allocations: 60.7 kB / 1.206 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/1.052, allocations: 155.8 kB / 1.207 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004705/1.052, allocations: 0.6149 MB / 1.207 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.053, allocations: 103.8 kB / 1.207 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/1.054, allocations: 31.94 kB / 1.207 GB, free: 11.17 MB / 0.9669 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.0005214/1.054, allocations: 302.1 kB / 1.208 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/1.054, allocations: 90.88 kB / 1.208 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/1.056, allocations: 0.9363 MB / 1.209 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.056, allocations: 8 kB / 1.209 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.056, allocations: 0 / 1.209 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/1.057, allocations: 0.9232 MB / 1.21 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/1.06, allocations: 2.119 MB / 1.212 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.06, allocations: 0 / 1.212 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/1.061, allocations: 191.8 kB / 1.212 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/1.061, allocations: 4 kB / 1.212 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/1.061, allocations: 23.92 kB / 1.212 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/1.061, allocations: 4 kB / 1.212 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.061, allocations: 4 kB / 1.212 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/1.064, allocations: 1.388 MB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/1.064, allocations: 247.9 kB / 1.213 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/1.064, allocations: 27.98 kB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/1.065, allocations: 89.75 kB / 1.214 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/1.065, allocations: 48.92 kB / 1.214 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/1.066, allocations: 27.98 kB / 1.214 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006902/1.066, allocations: 455 kB / 1.214 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/1.066, allocations: 0 / 1.214 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001157/1.067, allocations: 323.9 kB / 1.214 GB, free: 3.844 MB / 0.9669 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.0004563/1.068, allocations: 219 kB / 1.215 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001434/1.069, allocations: 0.8051 MB / 1.215 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.069, allocations: 0 / 1.215 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/1.07, allocations: 437.6 kB / 1.216 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.073, allocations: 0.5646 MB / 1.216 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/1.077, allocations: 2.885 MB / 1.219 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/1.078, allocations: 1.132 MB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001119/1.079, allocations: 259.9 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.079, allocations: 75.44 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/1.079, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of Templates: time 0.0327/1.112, allocations: 19.41 MB / 1.24 GB, free: 10.25 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches