Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, 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.001832/0.001832, allocations: 191.6 kB / 16.14 MB, free: 6.719 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.682/2.682, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.7399, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1937/0.9336, allocations: 171.6 MB / 1.184 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004182/0.9378, allocations: 2.311 MB / 1.186 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.9385, allocations: 19.88 kB / 1.186 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.9395, allocations: 194.8 kB / 1.187 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.9425, allocations: 0.8792 MB / 1.187 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.945, allocations: 0.742 MB / 1.188 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.9468, allocations: 1.348 MB / 1.19 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.9473, allocations: 278.4 kB / 1.19 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.9481, allocations: 418.3 kB / 1.19 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.9485, allocations: 334.5 kB / 1.191 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.9486, allocations: 20 kB / 1.191 GB, free: 0 / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.9513, allocations: 1.157 MB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.9515, allocations: 135.6 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.9518, allocations: 234.7 kB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.9538, allocations: 0.9504 MB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.9538, allocations: 7.984 kB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9538, allocations: 0 / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.9538, allocations: 0 / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001464/0.9553, allocations: 0.7983 MB / 1.194 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.9554, allocations: 8.031 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.9567, allocations: 183.2 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.9573, allocations: 377.4 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.9573, allocations: 24.66 kB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.9574, allocations: 28 kB / 1.194 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.958, allocations: 377.1 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.958, allocations: 0 / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.9581, allocations: 12 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.9581, allocations: 15.92 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.9586, allocations: 262 kB / 1.195 GB, free: 11.34 MB / 0.9512 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.001828/0.9605, allocations: 1.671 MB / 1.197 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.9608, allocations: 202.5 kB / 1.197 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.9611, allocations: 112.8 kB / 1.197 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.9622, allocations: 0.8701 MB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.9622, allocations: 34.55 kB / 1.198 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.724e-06/0.9623, allocations: 4 kB / 1.198 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008989/0.9632, allocations: 356.5 kB / 1.198 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.9632, allocations: 59.5 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.9637, allocations: 421.9 kB / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.9637, allocations: 33.7 kB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.9639, allocations: 212.2 kB / 1.199 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.9639, allocations: 86.77 kB / 1.199 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.964, allocations: 49.7 kB / 1.199 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9642, allocations: 354.7 kB / 1.199 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.9644, allocations: 79.95 kB / 1.199 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.9646, allocations: 120.5 kB / 1.199 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.965, allocations: 215.2 kB / 1.2 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.965, allocations: 0 / 1.2 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005389/0.9655, allocations: 283.4 kB / 1.2 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.9656, allocations: 10.28 kB / 1.2 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9656, allocations: 4.031 kB / 1.2 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9656, allocations: 4 kB / 1.2 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.9658, allocations: 51.97 kB / 1.2 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.9659, allocations: 4 kB / 1.2 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.9662, allocations: 39.61 kB / 1.2 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.9662, allocations: 15.92 kB / 1.2 GB, free: 5.691 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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 prepare postOptimizeDAE: time 0.000176/0.9664, allocations: 165.8 kB / 1.2 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.9665, allocations: 43.44 kB / 1.2 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.967, allocations: 285.1 kB / 1.201 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.967, allocations: 0 / 1.201 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.967, allocations: 0 / 1.201 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.9671, allocations: 3.938 kB / 1.201 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.9683, allocations: 0.8151 MB / 1.201 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.9683, allocations: 4 kB / 1.201 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.9685, allocations: 48.09 kB / 1.201 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.9686, allocations: 8 kB / 1.201 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.9686, allocations: 4 kB / 1.201 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.9686, allocations: 4 kB / 1.201 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9686, allocations: 0 / 1.201 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.9694, allocations: 0.5081 MB / 1.202 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.9696, allocations: 148.5 kB / 1.202 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.9696, allocations: 8 kB / 1.202 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.9699, allocations: 31.97 kB / 1.202 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.97, allocations: 15.98 kB / 1.202 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.97, allocations: 11.94 kB / 1.202 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003082/0.9703, allocations: 303.1 kB / 1.202 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9704, allocations: 0 / 1.202 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004892/0.9708, allocations: 123.8 kB / 1.203 GB, free: 3.039 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.0004665/0.9713, allocations: 189.5 kB / 1.203 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004816/0.9718, allocations: 209.6 kB / 1.203 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9718, allocations: 0 / 1.203 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.9721, allocations: 111.8 kB / 1.203 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.9732, allocations: 205.7 kB / 1.203 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.975, allocations: 1.033 MB / 1.204 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.9755, allocations: 0.8275 MB / 1.205 GB, free: 416 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.9758, allocations: 91.33 kB / 1.205 GB, free: 324 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.9759, allocations: 31.44 kB / 1.205 GB, free: 292 kB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.9759, allocations: 3.938 kB / 1.205 GB, free: 288 kB / 0.9512 GB Notification: Performance of Templates: time 0.01437/0.9903, allocations: 7.671 MB / 1.213 GB, free: 8.75 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches