Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001189/0.001189, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001357/0.001357, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.632/2.632, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8269, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1804/1.007, allocations: 145.2 MB / 1.163 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004028/1.011, allocations: 2.314 MB / 1.165 GB, free: 13.22 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/1.012, allocations: 11.94 kB / 1.165 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008374/1.013, allocations: 230.9 kB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/1.015, allocations: 0.7829 MB / 1.166 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/1.016, allocations: 0.539 MB / 1.166 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001416/1.018, allocations: 0.5934 MB / 1.167 GB, free: 11.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/1.018, allocations: 253.6 kB / 1.167 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/1.02, allocations: 466.5 kB / 1.168 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/1.02, allocations: 211.1 kB / 1.168 GB, free: 10.15 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/1.02, allocations: 20 kB / 1.168 GB, free: 10.13 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/1.021, allocations: 0.4914 MB / 1.168 GB, free: 9.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/1.021, allocations: 119.6 kB / 1.168 GB, free: 9.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/1.022, allocations: 109.5 kB / 1.169 GB, free: 9.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006866/1.022, allocations: 0.5222 MB / 1.169 GB, free: 8.887 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/1.022, allocations: 0 / 1.169 GB, free: 8.887 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.508e-06/1.022, allocations: 4 kB / 1.169 GB, free: 8.883 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.022, allocations: 3.938 kB / 1.169 GB, free: 8.879 MB / 0.92 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.001286/1.024, allocations: 0.7127 MB / 1.17 GB, free: 8.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.024, allocations: 15.97 kB / 1.17 GB, free: 8.102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.025, allocations: 187.2 kB / 1.17 GB, free: 7.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/1.026, allocations: 357.7 kB / 1.17 GB, free: 7.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/1.026, allocations: 20.66 kB / 1.17 GB, free: 7.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/1.026, allocations: 36 kB / 1.17 GB, free: 7.469 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/1.026, allocations: 373.1 kB / 1.171 GB, free: 7.078 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/1.026, allocations: 0 / 1.171 GB, free: 7.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/1.026, allocations: 16 kB / 1.171 GB, free: 7.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.026, allocations: 19.94 kB / 1.171 GB, free: 7.043 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/1.027, allocations: 266 kB / 1.171 GB, free: 6.785 MB / 0.92 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.001845/1.029, allocations: 1.675 MB / 1.173 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/1.029, allocations: 222.5 kB / 1.173 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/1.03, allocations: 0.7078 MB / 1.174 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.03, allocations: 30.56 kB / 1.174 GB, free: 3.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/1.03, allocations: 0 / 1.174 GB, free: 3.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=23): time 0.0008879/1.031, allocations: 378.8 kB / 1.174 GB, free: 3.477 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/1.031, allocations: 59.41 kB / 1.174 GB, free: 3.406 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/1.031, allocations: 417.9 kB / 1.174 GB, free: 2.992 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.032, allocations: 33.7 kB / 1.174 GB, free: 2.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/1.032, allocations: 208.2 kB / 1.175 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/1.032, allocations: 86.8 kB / 1.175 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/1.032, allocations: 4 kB / 1.175 GB, free: 2.656 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.032, allocations: 346.8 kB / 1.175 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/1.032, allocations: 91.94 kB / 1.175 GB, free: 2.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/1.032, allocations: 127.5 kB / 1.175 GB, free: 2.082 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/1.033, allocations: 107.9 kB / 1.175 GB, free: 1.977 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.033, allocations: 0 / 1.175 GB, free: 1.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005165/1.033, allocations: 288.9 kB / 1.176 GB, free: 1.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.033, allocations: 5.875 kB / 1.176 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.033, allocations: 4.031 kB / 1.176 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.033, allocations: 7.953 kB / 1.176 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/1.033, allocations: 59.91 kB / 1.176 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.033, allocations: 0 / 1.176 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/1.034, allocations: 39.67 kB / 1.176 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/1.034, allocations: 8 kB / 1.176 GB, free: 1.566 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/1.034, allocations: 169.8 kB / 1.176 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/1.034, allocations: 43.47 kB / 1.176 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/1.035, allocations: 295.8 kB / 1.176 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.035, allocations: 11.95 kB / 1.176 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.035, allocations: 0 / 1.176 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.035, allocations: 0 / 1.176 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.036, allocations: 0.8153 MB / 1.177 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.036, allocations: 0 / 1.177 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/1.036, allocations: 51.91 kB / 1.177 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/1.036, allocations: 4 kB / 1.177 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.036, allocations: 12.19 kB / 1.177 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.036, allocations: 4 kB / 1.177 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.036, allocations: 0 / 1.177 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/1.037, allocations: 0.5919 MB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/1.037, allocations: 148.5 kB / 1.178 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/1.037, allocations: 8 kB / 1.178 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/1.037, allocations: 23.98 kB / 1.178 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/1.038, allocations: 19.97 kB / 1.178 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/1.038, allocations: 8 kB / 1.178 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000299/1.038, allocations: 299.1 kB / 1.178 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.038, allocations: 0 / 1.178 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004409/1.038, allocations: 123.8 kB / 1.178 GB, free: 14.78 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004283/1.039, allocations: 193.5 kB / 1.178 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000475/1.039, allocations: 226.7 kB / 1.179 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.039, allocations: 0 / 1.179 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/1.039, allocations: 120.2 kB / 1.179 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/1.041, allocations: 217.2 kB / 1.179 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/1.042, allocations: 1.075 MB / 1.18 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/1.042, allocations: 0.8353 MB / 1.181 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003036/1.043, allocations: 91.31 kB / 1.181 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/1.043, allocations: 31.44 kB / 1.181 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.043, allocations: 0 / 1.181 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of Templates: time 0.01318/1.056, allocations: 7.401 MB / 1.188 GB, free: 4.672 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches