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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00136/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001671/0.001672, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.84 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.845, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2111/1.056, allocations: 171.6 MB / 1.116 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003951/1.06, allocations: 2.328 MB / 1.119 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/1.061, allocations: 19.88 kB / 1.119 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007689/1.061, allocations: 178.9 kB / 1.119 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/1.064, allocations: 0.8792 MB / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/1.065, allocations: 0.7513 MB / 1.121 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001474/1.067, allocations: 1.341 MB / 1.122 GB, free: 468 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/1.067, allocations: 286.3 kB / 1.122 GB, free: 176 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006859/1.068, allocations: 414.5 kB / 1.122 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/1.068, allocations: 330.6 kB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/1.069, allocations: 20 kB / 1.123 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/1.071, allocations: 1.165 MB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/1.071, allocations: 143.5 kB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/1.071, allocations: 226.8 kB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/1.072, allocations: 0.9503 MB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.072, allocations: 4 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.072e-06/1.072, allocations: 0 / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.76e-06/1.072, allocations: 0 / 1.125 GB, free: 12.93 MB / 0.8887 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.001276/1.074, allocations: 0.806 MB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.074, allocations: 12.03 kB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.075, allocations: 179.1 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/1.075, allocations: 377.4 kB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/1.075, allocations: 24.66 kB / 1.127 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/1.075, allocations: 31.94 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/1.076, allocations: 369.1 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.076, allocations: 3.938 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/1.076, allocations: 16 kB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/1.076, allocations: 11.94 kB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/1.077, allocations: 258 kB / 1.127 GB, free: 10.76 MB / 0.8887 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.001747/1.078, allocations: 1.675 MB / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/1.079, allocations: 206.3 kB / 1.129 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/1.079, allocations: 120.8 kB / 1.129 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.08, allocations: 0.874 MB / 1.13 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.08, allocations: 38.5 kB / 1.13 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.714e-06/1.08, allocations: 4 kB / 1.13 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.0008876/1.081, allocations: 350.5 kB / 1.13 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/1.081, allocations: 55.41 kB / 1.13 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/1.082, allocations: 422 kB / 1.131 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/1.082, allocations: 29.7 kB / 1.131 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/1.082, allocations: 216.2 kB / 1.131 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/1.082, allocations: 82.84 kB / 1.131 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/1.082, allocations: 53.61 kB / 1.131 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.082, allocations: 350.7 kB / 1.132 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/1.082, allocations: 83.94 kB / 1.132 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/1.082, allocations: 120.7 kB / 1.132 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/1.083, allocations: 205.3 kB / 1.132 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.083, allocations: 0 / 1.132 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005119/1.083, allocations: 284.9 kB / 1.132 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.083, allocations: 8 kB / 1.132 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.083, allocations: 4.031 kB / 1.132 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.083, allocations: 0 / 1.132 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/1.084, allocations: 51.92 kB / 1.132 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.084, allocations: 7.984 kB / 1.132 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/1.084, allocations: 43.61 kB / 1.132 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/1.084, allocations: 8 kB / 1.132 GB, free: 5.098 MB / 0.8887 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.0001703/1.084, allocations: 161.8 kB / 1.133 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/1.084, allocations: 43.44 kB / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/1.085, allocations: 283.2 kB / 1.133 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.085, allocations: 4 kB / 1.133 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.085, allocations: 112 / 1.133 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.085, allocations: 11.86 kB / 1.133 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/1.086, allocations: 0.8091 MB / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.086, allocations: 7.938 kB / 1.134 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/1.086, allocations: 52.11 kB / 1.134 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.086, allocations: 0 / 1.134 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/1.086, allocations: 11.98 kB / 1.134 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.086, allocations: 4 kB / 1.134 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.086, allocations: 0 / 1.134 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/1.087, allocations: 0.5076 MB / 1.134 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.087, allocations: 152.6 kB / 1.134 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/1.087, allocations: 8 kB / 1.134 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/1.088, allocations: 27.97 kB / 1.134 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/1.088, allocations: 11.98 kB / 1.134 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/1.088, allocations: 15.98 kB / 1.134 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000314/1.088, allocations: 299.1 kB / 1.135 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.088, allocations: 3.938 kB / 1.135 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000473/1.089, allocations: 119.8 kB / 1.135 GB, free: 2.449 MB / 0.8887 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.0004909/1.089, allocations: 179.4 kB / 1.135 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004845/1.09, allocations: 209.5 kB / 1.135 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.09, allocations: 0 / 1.135 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/1.09, allocations: 111.8 kB / 1.135 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.091, allocations: 223.7 kB / 1.136 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.093, allocations: 1.026 MB / 1.137 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.093, allocations: 0.8236 MB / 1.137 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002922/1.093, allocations: 83.34 kB / 1.137 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/1.093, allocations: 31.44 kB / 1.137 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/1.093, allocations: 0 / 1.137 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.0132/1.107, allocations: 7.689 MB / 1.145 GB, free: 8.156 MB / 0.9044 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches