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.001922/0.001922, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002298/0.002298, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.645 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.751/2.751, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6721, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2449/0.9171, allocations: 211.4 MB / 1.223 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.9334, allocations: 10.3 MB / 1.233 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.9355, allocations: 35.75 kB / 1.233 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.938, allocations: 0.7387 MB / 1.234 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007944/0.946, allocations: 2.712 MB / 1.237 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.9499, allocations: 1.305 MB / 1.238 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006161/0.956, allocations: 4.632 MB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.9576, allocations: 0.8752 MB / 1.243 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.96, allocations: 0.9843 MB / 1.244 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.9628, allocations: 1.123 MB / 1.245 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.963, allocations: 68 kB / 1.245 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006905/0.9699, allocations: 3.199 MB / 1.248 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007877/0.9707, allocations: 446.6 kB / 1.249 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.9719, allocations: 0.6687 MB / 1.25 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.9778, allocations: 2.949 MB / 1.252 GB, free: 452 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9778, allocations: 0 / 1.252 GB, free: 452 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9778, allocations: 0 / 1.252 GB, free: 452 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.9779, allocations: 0 / 1.252 GB, free: 452 kB / 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.5143/1.492, allocations: 1.788 MB / 1.254 GB, free: 236.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.492, allocations: 9.75 kB / 1.254 GB, free: 236.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/1.495, allocations: 427.4 kB / 1.255 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.497, allocations: 0.8481 MB / 1.255 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/1.497, allocations: 76.8 kB / 1.256 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/1.497, allocations: 99.64 kB / 1.256 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/1.499, allocations: 1.193 MB / 1.257 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/1.499, allocations: 2.078 kB / 1.257 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.951e-05/1.5, allocations: 41.5 kB / 1.257 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.553e-05/1.5, allocations: 56.55 kB / 1.257 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/1.502, allocations: 1.071 MB / 1.258 GB, free: 234.9 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.005614/1.507, allocations: 4.738 MB / 1.263 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/1.509, allocations: 0.9878 MB / 1.263 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/1.51, allocations: 0.5695 MB / 1.264 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/1.511, allocations: 0.6683 MB / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.511, allocations: 47.69 kB / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/1.511, allocations: 0 / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.005121/1.516, allocations: 2.3 MB / 1.267 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.516, allocations: 60.56 kB / 1.267 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.517, allocations: 0.6356 MB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/1.517, allocations: 44.73 kB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/1.517, allocations: 458.5 kB / 1.268 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/1.518, allocations: 294.9 kB / 1.268 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/1.518, allocations: 138.2 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.518, allocations: 388.8 kB / 1.269 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/1.519, allocations: 328.3 kB / 1.269 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/1.519, allocations: 423.8 kB / 1.27 GB, free: 227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.52, allocations: 0.787 MB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.52, allocations: 1.156 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001534/1.522, allocations: 0.9534 MB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.522, allocations: 8 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.522, allocations: 2.094 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/1.522, allocations: 57.53 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/1.523, allocations: 156.1 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003716/1.523, allocations: 0.6042 MB / 1.272 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.524, allocations: 106.2 kB / 1.272 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/1.524, allocations: 24.89 kB / 1.272 GB, free: 225.5 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.0004311/1.525, allocations: 312.7 kB / 1.273 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/1.525, allocations: 88.38 kB / 1.273 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.527, allocations: 0.9235 MB / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.527, allocations: 9.734 kB / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.527, allocations: 0 / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/1.528, allocations: 0.9409 MB / 1.275 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/1.531, allocations: 2.117 MB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.531, allocations: 1.219 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.532, allocations: 191.6 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.532, allocations: 3 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/1.533, allocations: 19.22 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/1.533, allocations: 6.406 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.533, allocations: 1.562 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/1.535, allocations: 1.389 MB / 1.278 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/1.535, allocations: 251.5 kB / 1.278 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.535, allocations: 16.38 kB / 1.278 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/1.536, allocations: 88.62 kB / 1.278 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.536, allocations: 49.31 kB / 1.279 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/1.536, allocations: 28.98 kB / 1.279 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006102/1.537, allocations: 458.5 kB / 1.279 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.537, allocations: 0 / 1.279 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001015/1.538, allocations: 318.6 kB / 1.279 GB, free: 222.2 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.0003908/1.538, allocations: 210.3 kB / 1.279 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001423/1.54, allocations: 0.8126 MB / 1.28 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.54, allocations: 1.438 kB / 1.28 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006026/1.54, allocations: 439.6 kB / 1.281 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.543, allocations: 0.5754 MB / 1.281 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/1.546, allocations: 2.746 MB / 1.284 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/1.547, allocations: 1.129 MB / 1.285 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009759/1.548, allocations: 250.4 kB / 1.285 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.548, allocations: 78.67 kB / 1.285 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.548, allocations: 0 / 1.285 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02599/1.574, allocations: 19.52 MB / 1.304 GB, free: 200.9 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=400 -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