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.001041/0.001042, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008205/0.008205, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.585/2.585, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 12 kB / 0.8728 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7246, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1987/0.9234, allocations: 169.3 MB / 1.188 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.9276, allocations: 2.282 MB / 1.191 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.9281, allocations: 15.88 kB / 1.191 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.9289, allocations: 190.8 kB / 1.191 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.9312, allocations: 0.8792 MB / 1.192 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.9334, allocations: 0.7552 MB / 1.192 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.9352, allocations: 1.348 MB / 1.194 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.9357, allocations: 274.3 kB / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.9365, allocations: 410.3 kB / 1.194 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.9369, allocations: 318.6 kB / 1.195 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.937, allocations: 24 kB / 1.195 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.9392, allocations: 1.157 MB / 1.196 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.9394, allocations: 131.5 kB / 1.196 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.9397, allocations: 248.5 kB / 1.196 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.9412, allocations: 0.9463 MB / 1.197 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.9412, allocations: 4 kB / 1.197 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9412, allocations: 0 / 1.197 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.9413, allocations: 0 / 1.197 GB, free: 12.87 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.001301/0.9426, allocations: 0.7282 MB / 1.198 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.9426, allocations: 8.031 kB / 1.198 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.944, allocations: 191.1 kB / 1.198 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.9445, allocations: 373.4 kB / 1.198 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.9445, allocations: 24.66 kB / 1.198 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.9446, allocations: 28 kB / 1.198 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.9452, allocations: 377.1 kB / 1.199 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.9453, allocations: 0 / 1.199 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.9453, allocations: 16 kB / 1.199 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.9453, allocations: 11.94 kB / 1.199 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.9459, allocations: 274 kB / 1.199 GB, free: 10.75 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.001924/0.9478, allocations: 1.671 MB / 1.201 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.9483, allocations: 214.5 kB / 1.201 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.9485, allocations: 120.8 kB / 1.201 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.9497, allocations: 0.8818 MB / 1.202 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.9498, allocations: 30.56 kB / 1.202 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.9498, allocations: 4 kB / 1.202 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001016/0.9508, allocations: 377.4 kB / 1.202 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.9509, allocations: 55.41 kB / 1.202 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.9513, allocations: 422 kB / 1.203 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.9514, allocations: 29.7 kB / 1.203 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.9516, allocations: 212.3 kB / 1.203 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.9516, allocations: 86.69 kB / 1.203 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.9517, allocations: 29.7 kB / 1.203 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.9519, allocations: 350.7 kB / 1.203 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.9521, allocations: 87.95 kB / 1.203 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.9523, allocations: 130.4 kB / 1.204 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.9528, allocations: 219 kB / 1.204 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9528, allocations: 3.938 kB / 1.204 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005259/0.9533, allocations: 293.1 kB / 1.204 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.9533, allocations: 4 kB / 1.204 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9533, allocations: 0 / 1.204 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.9534, allocations: 7.984 kB / 1.204 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.9536, allocations: 55.91 kB / 1.204 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.9536, allocations: 7.938 kB / 1.204 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.9539, allocations: 47.61 kB / 1.204 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.9539, allocations: 11.98 kB / 1.204 GB, free: 5.043 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.0001701/0.9541, allocations: 165.8 kB / 1.204 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.9542, allocations: 39.53 kB / 1.204 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.9548, allocations: 295.4 kB / 1.205 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.9548, allocations: 11.94 kB / 1.205 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.9548, allocations: 3.938 kB / 1.205 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9548, allocations: 0 / 1.205 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.9561, allocations: 0.8231 MB / 1.206 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9561, allocations: 4.031 kB / 1.206 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.9564, allocations: 55.91 kB / 1.206 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.9564, allocations: 4 kB / 1.206 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.9564, allocations: 4 kB / 1.206 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9564, allocations: 0 / 1.206 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.9564, allocations: 11.92 kB / 1.206 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.9573, allocations: 0.5243 MB / 1.206 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.9574, allocations: 144.6 kB / 1.206 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.9575, allocations: 8 kB / 1.206 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.9578, allocations: 31.97 kB / 1.206 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.9579, allocations: 19.92 kB / 1.206 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.9579, allocations: 11.94 kB / 1.206 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003175/0.9582, allocations: 299.1 kB / 1.207 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9582, allocations: 0 / 1.207 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004503/0.9587, allocations: 119.8 kB / 1.207 GB, free: 2.348 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.0004876/0.9592, allocations: 191.1 kB / 1.207 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.9597, allocations: 217 kB / 1.207 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9597, allocations: 0 / 1.207 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.9599, allocations: 121.6 kB / 1.207 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.9612, allocations: 216.6 kB / 1.207 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.9628, allocations: 1.106 MB / 1.209 GB, free: 476 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.9633, allocations: 0.8313 MB / 1.209 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002814/0.9636, allocations: 87.34 kB / 1.209 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.9637, allocations: 39.42 kB / 1.209 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.9637, allocations: 0 / 1.209 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.01459/0.9783, allocations: 7.633 MB / 1.217 GB, free: 7.988 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