Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001581/0.001581, allocations: 110 kB / 16.37 MB, free: 6.469 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.001674/0.001674, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.309/1.309, 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 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.5 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2605, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6817/0.9423, allocations: 173.8 MB / 1.121 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.9459, allocations: 2.287 MB / 1.123 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.9463, allocations: 14.66 kB / 1.123 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.947, allocations: 232 kB / 1.123 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.9493, allocations: 0.9454 MB / 1.124 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.9513, allocations: 0.8213 MB / 1.125 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.9525, allocations: 0.9645 MB / 1.126 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.9529, allocations: 331.4 kB / 1.126 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.9536, allocations: 456.3 kB / 1.127 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.954, allocations: 315.3 kB / 1.127 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.9541, allocations: 37.28 kB / 1.127 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.9559, allocations: 0.9878 MB / 1.128 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.956, allocations: 149.6 kB / 1.128 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.9563, allocations: 236.6 kB / 1.128 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.9575, allocations: 0.8997 MB / 1.129 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.9575, allocations: 0 / 1.129 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9575, allocations: 1.188 kB / 1.129 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.9576, allocations: 0 / 1.129 GB, free: 5.391 MB / 0.8575 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.00123/0.9588, allocations: 0.8121 MB / 1.13 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.9588, allocations: 8.531 kB / 1.13 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.96, allocations: 179.6 kB / 1.13 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.9606, allocations: 389.6 kB / 1.131 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.9606, allocations: 20.47 kB / 1.131 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.9607, allocations: 30.31 kB / 1.131 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.9612, allocations: 374.9 kB / 1.131 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.9613, allocations: 3.188 kB / 1.131 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.9613, allocations: 13.38 kB / 1.131 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.9613, allocations: 10.89 kB / 1.131 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.9619, allocations: 272.1 kB / 1.131 GB, free: 20.45 MB / 0.8731 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.001652/0.9636, allocations: 1.67 MB / 1.133 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.9639, allocations: 212.4 kB / 1.133 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.9641, allocations: 117.2 kB / 1.133 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009525/0.9651, allocations: 0.8714 MB / 1.134 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.9651, allocations: 34.84 kB / 1.134 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.9651, allocations: 2.531 kB / 1.134 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.000813/0.966, allocations: 354.6 kB / 1.134 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.966, allocations: 54.19 kB / 1.135 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.9664, allocations: 421.8 kB / 1.135 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.9664, allocations: 30.52 kB / 1.135 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.9666, allocations: 218.3 kB / 1.135 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.9666, allocations: 76.7 kB / 1.135 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.9667, allocations: 52.75 kB / 1.135 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9668, allocations: 360.8 kB / 1.136 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.967, allocations: 78.25 kB / 1.136 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.9672, allocations: 119.4 kB / 1.136 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.9675, allocations: 209.2 kB / 1.136 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9676, allocations: 6.344 kB / 1.136 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004576/0.968, allocations: 282.3 kB / 1.136 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.968, allocations: 8.219 kB / 1.136 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9681, allocations: 1 kB / 1.136 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9681, allocations: 2.25 kB / 1.136 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.9683, allocations: 50.61 kB / 1.136 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.9683, allocations: 6.438 kB / 1.136 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.9685, allocations: 31 kB / 1.136 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.9686, allocations: 16.28 kB / 1.136 GB, free: 17.38 MB / 0.8731 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.0001461/0.9687, allocations: 160.1 kB / 1.137 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.9688, allocations: 50.92 kB / 1.137 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005379/0.9693, allocations: 282.7 kB / 1.137 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.9693, allocations: 6.656 kB / 1.137 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9693, allocations: 1.156 kB / 1.137 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9694, allocations: 2.672 kB / 1.137 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.9705, allocations: 0.8105 MB / 1.138 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.9705, allocations: 2.625 kB / 1.138 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.9707, allocations: 47.38 kB / 1.138 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.9707, allocations: 2.875 kB / 1.138 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.9707, allocations: 8.359 kB / 1.138 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9708, allocations: 3.922 kB / 1.138 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9708, allocations: 2.562 kB / 1.138 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.9715, allocations: 0.5118 MB / 1.138 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.9716, allocations: 150.5 kB / 1.138 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.9717, allocations: 10.23 kB / 1.138 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.972, allocations: 10.86 kB / 1.138 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.972, allocations: 22.8 kB / 1.138 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.972, allocations: 10.03 kB / 1.138 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002805/0.9723, allocations: 302.4 kB / 1.139 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9723, allocations: 0 / 1.139 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004388/0.9728, allocations: 112.5 kB / 1.139 GB, free: 16.39 MB / 0.8731 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.0003958/0.9732, allocations: 198.1 kB / 1.139 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.9736, allocations: 217.5 kB / 1.139 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.9736, allocations: 1.094 kB / 1.139 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.9739, allocations: 115.8 kB / 1.139 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.9748, allocations: 228.6 kB / 1.14 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.9761, allocations: 0.888 MB / 1.14 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.9765, allocations: 0.8239 MB / 1.141 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.9767, allocations: 87.16 kB / 1.141 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.9768, allocations: 32.19 kB / 1.141 GB, free: 15 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9768, allocations: 0 / 1.141 GB, free: 15 MB / 0.8731 GB Notification: Performance of Templates: time 0.01357/0.9904, allocations: 8.044 MB / 1.149 GB, free: 14.55 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches