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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.305/2.305, allocations: 390.3 MB / 402.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 83.98 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.773e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.475/5.745, allocations: 1.911 GB / 3.13 GB, free: 403.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/5.745, allocations: 91.94 kB / 3.13 GB, free: 403.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6437/6.389, allocations: 360.2 MB / 3.482 GB, free: 35.47 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.062e-06/6.389, allocations: 0 / 3.482 GB, free: 35.47 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.035e-05/6.389, allocations: 15.98 kB / 3.482 GB, free: 35.45 MB / 1.167 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.001199/6.39, allocations: 0.761 MB / 3.483 GB, free: 34.65 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/6.39, allocations: 8.031 kB / 3.483 GB, free: 34.64 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/6.391, allocations: 171.2 kB / 3.483 GB, free: 34.47 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/6.392, allocations: 384.8 kB / 3.483 GB, free: 34.05 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/6.392, allocations: 24.78 kB / 3.483 GB, free: 34.03 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/6.392, allocations: 39.98 kB / 3.483 GB, free: 33.99 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/6.392, allocations: 347.7 kB / 3.484 GB, free: 33.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/6.392, allocations: 0 / 3.484 GB, free: 33.62 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/6.392, allocations: 12 kB / 3.484 GB, free: 33.61 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/6.393, allocations: 8 kB / 3.484 GB, free: 33.61 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/6.393, allocations: 226.1 kB / 3.484 GB, free: 33.38 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.001573/6.394, allocations: 1.769 MB / 3.486 GB, free: 31.48 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/6.395, allocations: 170.6 kB / 3.486 GB, free: 31.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/6.395, allocations: 96.84 kB / 3.486 GB, free: 31.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/6.396, allocations: 0.8701 MB / 3.487 GB, free: 30.15 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/6.396, allocations: 34.5 kB / 3.487 GB, free: 30.11 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/6.396, allocations: 3.938 kB / 3.487 GB, free: 30.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.0005439/6.396, allocations: 239.5 kB / 3.487 GB, free: 29.86 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/6.396, allocations: 59.41 kB / 3.487 GB, free: 29.79 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/6.397, allocations: 375 kB / 3.487 GB, free: 29.42 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/6.397, allocations: 33.7 kB / 3.487 GB, free: 29.38 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/6.397, allocations: 204.5 kB / 3.488 GB, free: 29.18 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/6.397, allocations: 82.75 kB / 3.488 GB, free: 29.09 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/6.397, allocations: 8 kB / 3.488 GB, free: 29.09 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/6.397, allocations: 346.8 kB / 3.488 GB, free: 28.74 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/6.397, allocations: 60.45 kB / 3.488 GB, free: 28.68 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/6.397, allocations: 126.2 kB / 3.488 GB, free: 28.54 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/6.397, allocations: 75.27 kB / 3.488 GB, free: 28.46 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/6.397, allocations: 3.938 kB / 3.488 GB, free: 28.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003016/6.397, allocations: 252.5 kB / 3.489 GB, free: 28.21 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/6.398, allocations: 4 kB / 3.489 GB, free: 28.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/6.398, allocations: 0 / 3.489 GB, free: 28.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/6.398, allocations: 8.031 kB / 3.489 GB, free: 28.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/6.398, allocations: 51.91 kB / 3.489 GB, free: 28.15 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/6.398, allocations: 4 kB / 3.489 GB, free: 28.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/6.398, allocations: 39.67 kB / 3.489 GB, free: 28.11 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/6.398, allocations: 19.95 kB / 3.489 GB, free: 28.09 MB / 1.167 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 () * 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 6.623e-05/6.398, allocations: 124.9 kB / 3.489 GB, free: 27.96 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/6.398, allocations: 43.44 kB / 3.489 GB, free: 27.91 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/6.399, allocations: 249.2 kB / 3.489 GB, free: 27.66 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/6.399, allocations: 4 kB / 3.489 GB, free: 27.66 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/6.399, allocations: 0 / 3.489 GB, free: 27.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/6.399, allocations: 0 / 3.489 GB, free: 27.66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/6.4, allocations: 0.7698 MB / 3.49 GB, free: 26.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/6.4, allocations: 4 kB / 3.49 GB, free: 26.81 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/6.4, allocations: 51.91 kB / 3.49 GB, free: 26.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/6.4, allocations: 4.188 kB / 3.49 GB, free: 26.75 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/6.4, allocations: 11.95 kB / 3.49 GB, free: 26.74 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/6.4, allocations: 0 / 3.49 GB, free: 26.74 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/6.4, allocations: 7.938 kB / 3.49 GB, free: 26.73 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/6.4, allocations: 0.5217 MB / 3.49 GB, free: 26.14 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/6.4, allocations: 140.5 kB / 3.491 GB, free: 25.99 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/6.4, allocations: 19.94 kB / 3.491 GB, free: 25.97 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/6.401, allocations: 19.98 kB / 3.491 GB, free: 25.95 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/6.401, allocations: 23.91 kB / 3.491 GB, free: 25.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/6.401, allocations: 8 kB / 3.491 GB, free: 25.92 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002322/6.401, allocations: 297.2 kB / 3.491 GB, free: 25.63 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/6.401, allocations: 4 kB / 3.491 GB, free: 25.62 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000753/6.402, allocations: 231.7 kB / 3.491 GB, free: 25.4 MB / 1.167 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 () * 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.001483/6.403, allocations: 1.196 MB / 3.492 GB, free: 24.18 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003056/6.404, allocations: 172.7 kB / 3.492 GB, free: 24.01 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/6.404, allocations: 3.938 kB / 3.492 GB, free: 24 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/6.404, allocations: 99.92 kB / 3.493 GB, free: 23.91 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009557/6.405, allocations: 213.6 kB / 3.493 GB, free: 23.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/6.406, allocations: 0.6816 MB / 3.493 GB, free: 22.97 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/6.406, allocations: 0.8314 MB / 3.494 GB, free: 22.11 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002767/6.406, allocations: 83.33 kB / 3.494 GB, free: 22.03 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/6.406, allocations: 31.44 kB / 3.494 GB, free: 22 MB / 1.167 GB Notification: Performance of SimCode: time 3.4e-07/6.406, allocations: 4 kB / 3.494 GB, free: 21.99 MB / 1.167 GB Notification: Performance of Templates: time 0.6915/7.098, allocations: 25.02 MB / 3.519 GB, free: 323.2 MB / 1.167 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