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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001788/0.001787, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002566/0.002566, allocations: 197.4 kB / 16.63 MB, free: 6.609 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.387/1.387, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.56 kB / 0.9509 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.071/1.393, allocations: 213.6 MB / 1.297 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01496/1.408, allocations: 10.2 MB / 1.307 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/1.41, allocations: 40.34 kB / 1.307 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/1.413, allocations: 0.8385 MB / 1.307 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009757/1.423, allocations: 2.888 MB / 1.31 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/1.428, allocations: 1.419 MB / 1.312 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007511/1.435, allocations: 3.17 MB / 1.315 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/1.437, allocations: 1.028 MB / 1.316 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/1.44, allocations: 1.127 MB / 1.317 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/1.443, allocations: 1.078 MB / 1.318 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/1.443, allocations: 122 kB / 1.318 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007659/1.451, allocations: 2.732 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007733/1.451, allocations: 0.4913 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/1.453, allocations: 0.7241 MB / 1.322 GB, free: 2.629 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006732/1.459, allocations: 2.813 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.459, allocations: 0 / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/1.459, allocations: 2.094 kB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.992e-05/1.459, allocations: 0 / 1.325 GB, free: 2.328 MB / 1.014 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.004538/1.464, allocations: 1.787 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.464, allocations: 13.31 kB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/1.467, allocations: 426.3 kB / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/1.469, allocations: 0.8901 MB / 1.328 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-05/1.469, allocations: 75.34 kB / 1.328 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/1.469, allocations: 94.84 kB / 1.328 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.471, allocations: 1.202 MB / 1.329 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/1.471, allocations: 5.844 kB / 1.329 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/1.471, allocations: 45.16 kB / 1.329 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.846e-05/1.472, allocations: 53.14 kB / 1.329 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.474, allocations: 1.07 MB / 1.33 GB, free: 0.9023 MB / 1.014 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.006813/1.48, allocations: 4.752 MB / 1.335 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/1.482, allocations: 0.9892 MB / 1.336 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/1.483, allocations: 0.5661 MB / 1.336 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/1.484, allocations: 0.6762 MB / 1.337 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/1.484, allocations: 44.75 kB / 1.337 GB, free: 13.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 3.977e-06/1.484, allocations: 0 / 1.337 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=83): time 0.005047/1.489, allocations: 2.303 MB / 1.339 GB, free: 12.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/1.489, allocations: 63.64 kB / 1.339 GB, free: 12.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/1.49, allocations: 0.6359 MB / 1.34 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/1.49, allocations: 46.77 kB / 1.34 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/1.49, allocations: 457.3 kB / 1.34 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/1.491, allocations: 286 kB / 1.341 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.491, allocations: 137 kB / 1.341 GB, free: 11.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.491, allocations: 396.2 kB / 1.341 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/1.492, allocations: 321 kB / 1.341 GB, free: 11.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/1.492, allocations: 435.2 kB / 1.342 GB, free: 11.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/1.494, allocations: 0.7809 MB / 1.343 GB, free: 10.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.494, allocations: 0 / 1.343 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001658/1.495, allocations: 0.9434 MB / 1.344 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.495, allocations: 5.906 kB / 1.344 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.495, allocations: 5.156 kB / 1.344 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/1.496, allocations: 58.16 kB / 1.344 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/1.496, allocations: 157.4 kB / 1.344 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005672/1.497, allocations: 0.6117 MB / 1.344 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/1.498, allocations: 31.28 kB / 1.344 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/1.498, allocations: 30.56 kB / 1.344 GB, free: 9.844 MB / 1.029 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.000684/1.499, allocations: 302.7 kB / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/1.499, allocations: 88.62 kB / 1.345 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/1.501, allocations: 0.937 MB / 1.346 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/1.501, allocations: 7.375 kB / 1.346 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.501, allocations: 3.625 kB / 1.346 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001388/1.502, allocations: 0.9279 MB / 1.347 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/1.506, allocations: 2.114 MB / 1.349 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.506, allocations: 0.7812 kB / 1.349 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/1.507, allocations: 191.3 kB / 1.349 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/1.507, allocations: 2.25 kB / 1.349 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/1.507, allocations: 22.16 kB / 1.349 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/1.507, allocations: 4.875 kB / 1.349 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.507, allocations: 3.188 kB / 1.349 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/1.509, allocations: 1.385 MB / 1.35 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/1.51, allocations: 255.2 kB / 1.351 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.51, allocations: 17.84 kB / 1.351 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/1.511, allocations: 23.44 kB / 1.351 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.511, allocations: 57.45 kB / 1.351 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/1.511, allocations: 30.91 kB / 1.351 GB, free: 6.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006221/1.511, allocations: 455.7 kB / 1.351 GB, free: 6.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.511, allocations: 0 / 1.351 GB, free: 6.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001119/1.513, allocations: 324.7 kB / 1.351 GB, free: 6.52 MB / 1.029 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.0004548/1.513, allocations: 214.2 kB / 1.352 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001438/1.514, allocations: 0.8108 MB / 1.352 GB, free: 6.129 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.514, allocations: 2.656 kB / 1.352 GB, free: 6.129 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/1.515, allocations: 443.2 kB / 1.353 GB, free: 5.988 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.518, allocations: 0.5847 MB / 1.353 GB, free: 5.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/1.521, allocations: 2.287 MB / 1.356 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/1.522, allocations: 1.128 MB / 1.357 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009874/1.523, allocations: 257 kB / 1.357 GB, free: 3.738 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.523, allocations: 78.17 kB / 1.357 GB, free: 3.727 MB / 1.029 GB Notification: Performance of SimCode: time 8.81e-07/1.523, allocations: 0 / 1.357 GB, free: 3.727 MB / 1.029 GB Notification: Performance of Templates: time 0.03913/1.562, allocations: 20.48 MB / 1.377 GB, free: 12.41 MB / 1.045 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