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.007327/0.007327, allocations: 101.4 kB / 15.73 MB, free: 6.039 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.001685/0.001685, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.426/2.426, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 66.38 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3115, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.9789/1.291, allocations: 213.6 MB / 1.297 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01492/1.305, allocations: 10.2 MB / 1.306 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/1.308, allocations: 39.38 kB / 1.307 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002683/1.31, allocations: 0.8776 MB / 1.307 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009887/1.32, allocations: 2.979 MB / 1.31 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/1.325, allocations: 1.43 MB / 1.312 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00553/1.33, allocations: 3.173 MB / 1.315 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/1.332, allocations: 1.03 MB / 1.316 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/1.336, allocations: 1.165 MB / 1.317 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/1.339, allocations: 1.075 MB / 1.318 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005535/1.34, allocations: 121.7 kB / 1.318 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008318/1.348, allocations: 2.748 MB / 1.321 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/1.35, allocations: 0.4902 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003179/1.353, allocations: 0.7255 MB / 1.322 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01093/1.364, allocations: 2.826 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/1.364, allocations: 0 / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.677e-06/1.364, allocations: 0.9375 kB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000108/1.364, allocations: 1.125 kB / 1.325 GB, free: 2.336 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.009073/1.373, allocations: 1.831 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/1.373, allocations: 9.188 kB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/1.378, allocations: 429.2 kB / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/1.38, allocations: 0.9056 MB / 1.328 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-05/1.38, allocations: 75.34 kB / 1.328 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/1.381, allocations: 96.31 kB / 1.328 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/1.384, allocations: 1.202 MB / 1.329 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.384, allocations: 5.094 kB / 1.329 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.384, allocations: 35.53 kB / 1.329 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-05/1.384, allocations: 60.36 kB / 1.329 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/1.386, allocations: 1.069 MB / 1.33 GB, free: 0.8516 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.006344/1.392, allocations: 4.761 MB / 1.335 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/1.394, allocations: 0.9935 MB / 1.336 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/1.395, allocations: 0.5947 MB / 1.337 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006525/1.396, allocations: 0.6787 MB / 1.337 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.396, allocations: 42.94 kB / 1.337 GB, free: 13.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/1.396, allocations: 1 kB / 1.337 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=83): time 0.004591/1.4, allocations: 2.315 MB / 1.339 GB, free: 12.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.4, allocations: 60.16 kB / 1.34 GB, free: 12.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/1.401, allocations: 0.638 MB / 1.34 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.401, allocations: 40.73 kB / 1.34 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/1.402, allocations: 470.3 kB / 1.341 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/1.402, allocations: 304.2 kB / 1.341 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/1.403, allocations: 140.2 kB / 1.341 GB, free: 11.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002455/1.403, allocations: 396.1 kB / 1.341 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/1.403, allocations: 322.1 kB / 1.342 GB, free: 11.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/1.404, allocations: 427.2 kB / 1.342 GB, free: 11.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.405, allocations: 0.7787 MB / 1.343 GB, free: 10.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.405, allocations: 3.469 kB / 1.343 GB, free: 10.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001694/1.407, allocations: 0.9513 MB / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.407, allocations: 9.438 kB / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.407, allocations: 0 / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/1.407, allocations: 60 kB / 1.344 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/1.408, allocations: 157.8 kB / 1.344 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004997/1.409, allocations: 0.6101 MB / 1.345 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.41, allocations: 27.69 kB / 1.345 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/1.41, allocations: 26.94 kB / 1.345 GB, free: 9.641 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.0005732/1.41, allocations: 310.2 kB / 1.345 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/1.41, allocations: 99.17 kB / 1.345 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.412, allocations: 0.9308 MB / 1.346 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.412, allocations: 5.531 kB / 1.346 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.412, allocations: 2.594 kB / 1.346 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/1.413, allocations: 0.9309 MB / 1.347 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.417, allocations: 2.107 MB / 1.349 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.417, allocations: 0 / 1.349 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009078/1.418, allocations: 190.6 kB / 1.349 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/1.418, allocations: 2.031 kB / 1.349 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/1.418, allocations: 21.03 kB / 1.349 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.418, allocations: 6.344 kB / 1.349 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.418, allocations: 2.438 kB / 1.349 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/1.42, allocations: 1.397 MB / 1.351 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006292/1.42, allocations: 252.2 kB / 1.351 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/1.421, allocations: 16.75 kB / 1.351 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008475/1.422, allocations: 29.11 kB / 1.351 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.422, allocations: 53.84 kB / 1.351 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/1.422, allocations: 28.7 kB / 1.351 GB, free: 6.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006006/1.422, allocations: 457.5 kB / 1.351 GB, free: 6.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.52e-07/1.422, allocations: 0 / 1.351 GB, free: 6.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001248/1.424, allocations: 323 kB / 1.352 GB, free: 6.309 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.0005077/1.424, allocations: 214.6 kB / 1.352 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001587/1.426, allocations: 0.8161 MB / 1.353 GB, free: 5.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.426, allocations: 0 / 1.353 GB, free: 5.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006904/1.426, allocations: 440.2 kB / 1.353 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/1.429, allocations: 0.5992 MB / 1.354 GB, free: 5.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/1.433, allocations: 2.327 MB / 1.356 GB, free: 4.277 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/1.434, allocations: 1.127 MB / 1.357 GB, free: 3.527 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001041/1.435, allocations: 248.7 kB / 1.357 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/1.436, allocations: 77.78 kB / 1.357 GB, free: 3.457 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/1.436, allocations: 0 / 1.357 GB, free: 3.457 MB / 1.029 GB Notification: Performance of Templates: time 0.03636/1.472, allocations: 20.65 MB / 1.378 GB, free: 12.04 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