Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001969/0.001969, allocations: 105.1 kB / 15.99 MB, free: 6.355 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.001982/0.001982, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.528/1.528, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 64.8 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4331, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 1.011/1.444, allocations: 171.5 MB / 1.232 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004703/1.449, allocations: 2.277 MB / 1.234 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007269/1.45, allocations: 11.84 kB / 1.234 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000941/1.451, allocations: 204.3 kB / 1.234 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/1.454, allocations: 0.8754 MB / 1.235 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/1.456, allocations: 0.7604 MB / 1.236 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001672/1.458, allocations: 0.9701 MB / 1.237 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/1.458, allocations: 322.9 kB / 1.237 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008497/1.459, allocations: 462.2 kB / 1.237 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/1.46, allocations: 330.7 kB / 1.238 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/1.46, allocations: 36 kB / 1.238 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/1.462, allocations: 1.029 MB / 1.239 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/1.462, allocations: 163.4 kB / 1.239 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/1.462, allocations: 226.9 kB / 1.239 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/1.464, allocations: 0.6393 MB / 1.24 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.464, allocations: 0 / 1.24 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.323e-06/1.464, allocations: 0 / 1.24 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.464, allocations: 0 / 1.24 GB, free: 5.402 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.001448/1.465, allocations: 0.8066 MB / 1.24 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.465, allocations: 8.031 kB / 1.24 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.466, allocations: 179.2 kB / 1.241 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/1.467, allocations: 369.4 kB / 1.241 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/1.467, allocations: 28.66 kB / 1.241 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/1.467, allocations: 28 kB / 1.241 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/1.468, allocations: 377 kB / 1.241 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/1.468, allocations: 4 kB / 1.241 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/1.468, allocations: 8 kB / 1.241 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/1.468, allocations: 12 kB / 1.241 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/1.468, allocations: 269.9 kB / 1.242 GB, free: 3.227 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.001953/1.47, allocations: 1.672 MB / 1.243 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/1.471, allocations: 208.3 kB / 1.244 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/1.471, allocations: 112.9 kB / 1.244 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.472, allocations: 0.8778 MB / 1.244 GB, free: 36 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.472, allocations: 34.56 kB / 1.245 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 1.983e-06/1.472, allocations: 0 / 1.245 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.0009527/1.473, allocations: 358.6 kB / 1.245 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.473, allocations: 59.34 kB / 1.245 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/1.474, allocations: 418 kB / 1.245 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/1.474, allocations: 33.7 kB / 1.245 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/1.474, allocations: 216.2 kB / 1.246 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/1.474, allocations: 82.75 kB / 1.246 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/1.474, allocations: 49.7 kB / 1.246 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.474, allocations: 354.7 kB / 1.246 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.475, allocations: 79.94 kB / 1.246 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/1.475, allocations: 127.4 kB / 1.246 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/1.475, allocations: 204.4 kB / 1.246 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.475, allocations: 0 / 1.246 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000548/1.476, allocations: 285.9 kB / 1.247 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.476, allocations: 8.062 kB / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/1.476, allocations: 0 / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.476, allocations: 4 kB / 1.247 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/1.476, allocations: 55.91 kB / 1.247 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.476, allocations: 0 / 1.247 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/1.476, allocations: 43.58 kB / 1.247 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/1.477, allocations: 15.88 kB / 1.247 GB, free: 13.57 MB / 0.9669 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.0001986/1.477, allocations: 166.4 kB / 1.247 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/1.477, allocations: 39.53 kB / 1.247 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/1.477, allocations: 285.3 kB / 1.247 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.477, allocations: 4 kB / 1.247 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.477, allocations: 0 / 1.247 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.477, allocations: 3.984 kB / 1.247 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/1.479, allocations: 0.8174 MB / 1.248 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.479, allocations: 192 / 1.248 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/1.479, allocations: 51.92 kB / 1.248 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.479, allocations: 4 kB / 1.248 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/1.479, allocations: 11.98 kB / 1.248 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/1.479, allocations: 8.75 kB / 1.248 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.479, allocations: 0 / 1.248 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/1.48, allocations: 0.4959 MB / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/1.48, allocations: 148.5 kB / 1.249 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/1.48, allocations: 4 kB / 1.249 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/1.48, allocations: 35.91 kB / 1.249 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/1.481, allocations: 15.98 kB / 1.249 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/1.481, allocations: 15.8 kB / 1.249 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003465/1.481, allocations: 295.1 kB / 1.249 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.481, allocations: 0 / 1.249 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004682/1.481, allocations: 123.8 kB / 1.249 GB, free: 10.93 MB / 0.9669 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.0005562/1.482, allocations: 196.5 kB / 1.249 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000517/1.483, allocations: 219.8 kB / 1.25 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.483, allocations: 4 kB / 1.25 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/1.483, allocations: 110.2 kB / 1.25 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.484, allocations: 231.7 kB / 1.25 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/1.486, allocations: 1.058 MB / 1.251 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/1.486, allocations: 0.8272 MB / 1.252 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.487, allocations: 39.44 kB / 1.252 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/1.487, allocations: 4 kB / 1.252 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of Templates: time 0.01092/1.497, allocations: 6.584 MB / 1.258 GB, free: 1.688 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches