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.001632/0.001632, allocations: 108 kB / 16.41 MB, free: 6.027 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.001714/0.001714, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.495/2.495, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 60.12 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 151.7 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2447/1.288, allocations: 213.6 MB / 1.376 GB, free: 13.44 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01532/1.303, allocations: 10.2 MB / 1.386 GB, free: 3.215 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/1.306, allocations: 39.81 kB / 1.386 GB, free: 3.176 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/1.308, allocations: 0.8703 MB / 1.387 GB, free: 2.301 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008699/1.317, allocations: 2.985 MB / 1.39 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/1.321, allocations: 1.421 MB / 1.391 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004943/1.326, allocations: 3.172 MB / 1.394 GB, free: 10.7 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/1.327, allocations: 1.03 MB / 1.395 GB, free: 9.648 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/1.33, allocations: 1.164 MB / 1.396 GB, free: 8.48 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/1.332, allocations: 1.077 MB / 1.397 GB, free: 7.406 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/1.332, allocations: 120 kB / 1.397 GB, free: 7.289 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/1.337, allocations: 2.747 MB / 1.4 GB, free: 4.535 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005732/1.338, allocations: 498.6 kB / 1.401 GB, free: 4.047 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009362/1.339, allocations: 0.7234 MB / 1.401 GB, free: 3.32 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004771/1.344, allocations: 2.813 MB / 1.404 GB, free: 0.5 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.344, allocations: 3.938 kB / 1.404 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.124e-06/1.344, allocations: 0 / 1.404 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.344, allocations: 0 / 1.404 GB, free: 0.4961 MB / 1.123 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.003969/1.348, allocations: 1.788 MB / 1.406 GB, free: 14.65 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.348, allocations: 8.922 kB / 1.406 GB, free: 14.64 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/1.351, allocations: 438 kB / 1.406 GB, free: 14.21 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/1.352, allocations: 0.8863 MB / 1.407 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/1.352, allocations: 70 kB / 1.407 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/1.353, allocations: 107.9 kB / 1.407 GB, free: 13.11 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/1.354, allocations: 1.202 MB / 1.408 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.354, allocations: 0 / 1.408 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/1.355, allocations: 40 kB / 1.409 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/1.355, allocations: 57.91 kB / 1.409 GB, free: 11.78 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/1.356, allocations: 1.07 MB / 1.41 GB, free: 10.71 MB / 1.139 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.005861/1.362, allocations: 4.758 MB / 1.414 GB, free: 5.559 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/1.364, allocations: 0.988 MB / 1.415 GB, free: 4.527 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.365, allocations: 0.5909 MB / 1.416 GB, free: 3.934 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007899/1.366, allocations: 0.6733 MB / 1.416 GB, free: 3.113 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/1.366, allocations: 51.2 kB / 1.417 GB, free: 3.055 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/1.366, allocations: 0 / 1.417 GB, free: 3.055 MB / 1.139 GB Notification: Performance of matching and sorting (n=83): time 0.004141/1.37, allocations: 2.292 MB / 1.419 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/1.37, allocations: 68.34 kB / 1.419 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/1.371, allocations: 0.6374 MB / 1.419 GB, free: 15.98 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/1.371, allocations: 41.7 kB / 1.419 GB, free: 15.93 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/1.371, allocations: 456 kB / 1.42 GB, free: 15.48 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/1.371, allocations: 299.5 kB / 1.42 GB, free: 15.19 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/1.372, allocations: 138.6 kB / 1.42 GB, free: 15.04 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.372, allocations: 390.7 kB / 1.421 GB, free: 14.65 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/1.372, allocations: 317.8 kB / 1.421 GB, free: 14.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/1.373, allocations: 430.5 kB / 1.421 GB, free: 13.9 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.374, allocations: 0.7885 MB / 1.422 GB, free: 13.08 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.374, allocations: 0 / 1.422 GB, free: 13.08 MB / 1.154 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001506/1.375, allocations: 0.9503 MB / 1.423 GB, free: 12.12 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.376, allocations: 4 kB / 1.423 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.376, allocations: 7.938 kB / 1.423 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/1.376, allocations: 52.83 kB / 1.423 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/1.377, allocations: 159.8 kB / 1.423 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004962/1.377, allocations: 0.6071 MB / 1.424 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007753/1.378, allocations: 27.89 kB / 1.424 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.378, allocations: 28 kB / 1.424 GB, free: 11.21 MB / 1.154 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.0004852/1.378, allocations: 307.1 kB / 1.424 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.379, allocations: 90.97 kB / 1.424 GB, free: 10.81 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/1.38, allocations: 0.9208 MB / 1.425 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.38, allocations: 8 kB / 1.425 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.38, allocations: 3.938 kB / 1.425 GB, free: 9.871 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/1.381, allocations: 0.9348 MB / 1.426 GB, free: 8.887 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/1.385, allocations: 2.11 MB / 1.428 GB, free: 6.723 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.385, allocations: 3.984 kB / 1.428 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/1.386, allocations: 191.8 kB / 1.428 GB, free: 6.531 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.386, allocations: 7.938 kB / 1.428 GB, free: 6.523 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/1.386, allocations: 19.98 kB / 1.428 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/1.386, allocations: 4 kB / 1.428 GB, free: 6.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.386, allocations: 0 / 1.428 GB, free: 6.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/1.388, allocations: 1.388 MB / 1.43 GB, free: 5.098 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/1.388, allocations: 255.9 kB / 1.43 GB, free: 4.828 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.388, allocations: 16 kB / 1.43 GB, free: 4.812 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/1.389, allocations: 25.11 kB / 1.43 GB, free: 4.789 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.389, allocations: 48.92 kB / 1.43 GB, free: 4.738 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/1.389, allocations: 28.05 kB / 1.43 GB, free: 4.711 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005511/1.39, allocations: 455 kB / 1.431 GB, free: 4.27 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.552e-06/1.39, allocations: 0 / 1.431 GB, free: 4.27 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009051/1.391, allocations: 323.9 kB / 1.431 GB, free: 3.953 MB / 1.154 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.0003782/1.391, allocations: 219.1 kB / 1.431 GB, free: 3.73 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001372/1.392, allocations: 0.8129 MB / 1.432 GB, free: 2.918 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.392, allocations: 0 / 1.432 GB, free: 2.918 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006278/1.393, allocations: 437.6 kB / 1.432 GB, free: 2.492 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/1.395, allocations: 0.5991 MB / 1.433 GB, free: 1.914 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/1.399, allocations: 2.351 MB / 1.435 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/1.4, allocations: 1.12 MB / 1.436 GB, free: 14.38 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/1.4, allocations: 87.42 kB / 1.436 GB, free: 14.29 MB / 1.17 GB Notification: Performance of SimCode: time 6.01e-07/1.4, allocations: 0 / 1.436 GB, free: 14.29 MB / 1.17 GB Notification: Performance of Templates: time 0.0277/1.428, allocations: 18.8 MB / 1.455 GB, free: 11.57 MB / 1.186 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches