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.001064/0.001064, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007737/0.007737, allocations: 169 kB / 16.26 MB, free: 6.652 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.406/1.406, 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 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 8 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.696, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.222/0.918, allocations: 208.6 MB / 1.227 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.9327, allocations: 10.19 MB / 1.237 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.9344, allocations: 31.81 kB / 1.237 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.9367, allocations: 0.7386 MB / 1.237 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007568/0.9443, allocations: 2.72 MB / 1.24 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.6914/1.636, allocations: 1.282 MB / 1.241 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007724/1.643, allocations: 4.632 MB / 1.246 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/1.645, allocations: 0.8497 MB / 1.247 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/1.648, allocations: 0.9481 MB / 1.248 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/1.651, allocations: 1.088 MB / 1.249 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/1.651, allocations: 56.31 kB / 1.249 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007574/1.659, allocations: 3.193 MB / 1.252 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/1.66, allocations: 430.6 kB / 1.252 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/1.662, allocations: 0.6742 MB / 1.253 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007144/1.669, allocations: 2.902 MB / 1.256 GB, free: 20.72 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.669, allocations: 0 / 1.256 GB, free: 20.72 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.995e-06/1.669, allocations: 0.5625 kB / 1.256 GB, free: 20.72 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.798e-05/1.669, allocations: 1.859 kB / 1.256 GB, free: 20.72 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.004574/1.674, allocations: 1.552 MB / 1.257 GB, free: 19.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.674, allocations: 10.03 kB / 1.257 GB, free: 19.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/1.677, allocations: 429.9 kB / 1.258 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/1.679, allocations: 0.8572 MB / 1.259 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/1.679, allocations: 67.38 kB / 1.259 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/1.679, allocations: 99.2 kB / 1.259 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/1.681, allocations: 1.201 MB / 1.26 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.682, allocations: 1.281 kB / 1.26 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.682, allocations: 39.56 kB / 1.26 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.911e-05/1.682, allocations: 54.47 kB / 1.26 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.684, allocations: 1.074 MB / 1.261 GB, free: 19.36 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.005551/1.689, allocations: 4.742 MB / 1.266 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/1.69, allocations: 0.9832 MB / 1.267 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/1.691, allocations: 0.5586 MB / 1.267 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/1.692, allocations: 0.6768 MB / 1.268 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.692, allocations: 50 kB / 1.268 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 4.167e-06/1.692, allocations: 0 / 1.268 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.004545/1.697, allocations: 2.304 MB / 1.27 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.697, allocations: 63.09 kB / 1.27 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/1.698, allocations: 0.637 MB / 1.271 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/1.698, allocations: 47.8 kB / 1.271 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/1.698, allocations: 456.5 kB / 1.271 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/1.698, allocations: 292.5 kB / 1.272 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.291e-05/1.698, allocations: 66.39 kB / 1.272 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.698, allocations: 396.5 kB / 1.272 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/1.699, allocations: 323.3 kB / 1.272 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/1.699, allocations: 429.6 kB / 1.273 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.7, allocations: 0.7826 MB / 1.273 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.7, allocations: 0 / 1.273 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001566/1.702, allocations: 0.9465 MB / 1.274 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/1.702, allocations: 10.38 kB / 1.274 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.702, allocations: 0 / 1.274 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003544/1.702, allocations: 64.52 kB / 1.274 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/1.703, allocations: 152.7 kB / 1.275 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005105/1.704, allocations: 0.6198 MB / 1.275 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.705, allocations: 104.7 kB / 1.275 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/1.705, allocations: 26.06 kB / 1.275 GB, free: 13.39 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.0006557/1.706, allocations: 307.1 kB / 1.276 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.706, allocations: 96.77 kB / 1.276 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.708, allocations: 0.9272 MB / 1.277 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.708, allocations: 8.375 kB / 1.277 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.708, allocations: 0 / 1.277 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/1.709, allocations: 0.9298 MB / 1.278 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/1.712, allocations: 2.112 MB / 1.28 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.712, allocations: 6.203 kB / 1.28 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/1.713, allocations: 188.9 kB / 1.28 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/1.713, allocations: 3.594 kB / 1.28 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/1.713, allocations: 24.73 kB / 1.28 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.713, allocations: 2.906 kB / 1.28 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.713, allocations: 0 / 1.28 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/1.715, allocations: 1.395 MB / 1.281 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/1.716, allocations: 249.1 kB / 1.281 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.716, allocations: 17.11 kB / 1.281 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008753/1.717, allocations: 89.69 kB / 1.282 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.717, allocations: 56.36 kB / 1.282 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/1.717, allocations: 28.72 kB / 1.282 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006245/1.717, allocations: 456.6 kB / 1.282 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.1e-07/1.717, allocations: 0 / 1.282 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001385/1.719, allocations: 316.6 kB / 1.282 GB, free: 12.08 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.000465/1.719, allocations: 216.1 kB / 1.283 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.721, allocations: 0.813 MB / 1.283 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.721, allocations: 0 / 1.283 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005732/1.721, allocations: 441.1 kB / 1.284 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.724, allocations: 0.5569 MB / 1.284 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/1.729, allocations: 2.896 MB / 1.287 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/1.729, allocations: 1.126 MB / 1.288 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001225/1.731, allocations: 257.6 kB / 1.288 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/1.731, allocations: 73.97 kB / 1.289 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of SimCode: time 1.502e-06/1.731, allocations: 0 / 1.289 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of Templates: time 0.03241/1.763, allocations: 19.42 MB / 1.308 GB, free: 6.484 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=480 -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