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.001827/0.001827, allocations: 104 kB / 16.35 MB, free: 5.824 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.001996/0.001996, allocations: 190.9 kB / 17.29 MB, free: 5.48 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.78 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3032, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6904/0.9936, allocations: 173.8 MB / 1.196 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.9978, allocations: 2.302 MB / 1.199 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005236/0.9983, allocations: 13.44 kB / 1.199 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007742/0.9991, allocations: 231.2 kB / 1.199 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/1.001, allocations: 0.9336 MB / 1.2 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/1.004, allocations: 0.8188 MB / 1.201 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001435/1.005, allocations: 0.972 MB / 1.202 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/1.006, allocations: 337.4 kB / 1.202 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/1.006, allocations: 456.2 kB / 1.202 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/1.007, allocations: 314 kB / 1.203 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/1.007, allocations: 34.22 kB / 1.203 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/1.009, allocations: 0.9931 MB / 1.204 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/1.009, allocations: 145.9 kB / 1.204 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/1.009, allocations: 238 kB / 1.204 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/1.01, allocations: 0.905 MB / 1.205 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.01, allocations: 0 / 1.205 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.355e-06/1.01, allocations: 0 / 1.205 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.914e-06/1.01, allocations: 0 / 1.205 GB, free: 2.426 MB / 0.9044 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.001182/1.012, allocations: 0.8068 MB / 1.206 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.012, allocations: 10.59 kB / 1.206 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/1.013, allocations: 178.2 kB / 1.206 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/1.013, allocations: 390.7 kB / 1.206 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.013, allocations: 21.75 kB / 1.206 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/1.013, allocations: 32.53 kB / 1.206 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/1.014, allocations: 371.8 kB / 1.207 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/1.014, allocations: 2.219 kB / 1.207 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/1.014, allocations: 11.31 kB / 1.207 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/1.014, allocations: 16.44 kB / 1.207 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/1.015, allocations: 262.5 kB / 1.207 GB, free: 0.8945 MB / 0.9044 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.001902/1.017, allocations: 1.678 MB / 1.209 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/1.017, allocations: 203.8 kB / 1.209 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/1.017, allocations: 111.3 kB / 1.209 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009702/1.018, allocations: 0.8693 MB / 1.21 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.018, allocations: 36.34 kB / 1.21 GB, free: 14.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=23): time 1.794e-06/1.018, allocations: 2.906 kB / 1.21 GB, free: 14.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=23): time 0.0008658/1.019, allocations: 363.4 kB / 1.21 GB, free: 13.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/1.019, allocations: 53.22 kB / 1.21 GB, free: 13.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/1.02, allocations: 415.4 kB / 1.211 GB, free: 13.67 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/1.02, allocations: 31.83 kB / 1.211 GB, free: 13.63 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/1.02, allocations: 219 kB / 1.211 GB, free: 13.44 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/1.02, allocations: 85.23 kB / 1.211 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/1.02, allocations: 53.2 kB / 1.211 GB, free: 13.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.02, allocations: 356.3 kB / 1.211 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/1.02, allocations: 78.86 kB / 1.211 GB, free: 12.94 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/1.02, allocations: 124 kB / 1.211 GB, free: 12.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/1.021, allocations: 208.5 kB / 1.212 GB, free: 12.74 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.021, allocations: 0 / 1.212 GB, free: 12.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004667/1.021, allocations: 285 kB / 1.212 GB, free: 12.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.021, allocations: 4.844 kB / 1.212 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.021, allocations: 0 / 1.212 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.021, allocations: 6.562 kB / 1.212 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.022, allocations: 48.52 kB / 1.212 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.022, allocations: 6.797 kB / 1.212 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.022, allocations: 33.69 kB / 1.212 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/1.022, allocations: 14.78 kB / 1.212 GB, free: 12.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001723/1.022, allocations: 169.4 kB / 1.212 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/1.022, allocations: 43.97 kB / 1.212 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005619/1.023, allocations: 287.9 kB / 1.213 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.023, allocations: 6.75 kB / 1.213 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.023, allocations: 0 / 1.213 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.023, allocations: 0 / 1.213 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/1.024, allocations: 0.8081 MB / 1.213 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.024, allocations: 2.781 kB / 1.213 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/1.024, allocations: 47.19 kB / 1.213 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.024, allocations: 2.906 kB / 1.213 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.024, allocations: 10.72 kB / 1.213 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.024, allocations: 2.094 kB / 1.213 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.024, allocations: 2.25 kB / 1.213 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/1.025, allocations: 0.5129 MB / 1.214 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/1.025, allocations: 152.9 kB / 1.214 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/1.025, allocations: 9.281 kB / 1.214 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.025, allocations: 12.8 kB / 1.214 GB, free: 11.01 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/1.025, allocations: 14.33 kB / 1.214 GB, free: 11.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.025, allocations: 11.28 kB / 1.214 GB, free: 11 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003082/1.026, allocations: 300.7 kB / 1.214 GB, free: 10.82 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.11e-07/1.026, allocations: 4 kB / 1.214 GB, free: 10.82 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004611/1.026, allocations: 120.6 kB / 1.214 GB, free: 10.79 MB / 0.92 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.0004974/1.027, allocations: 213 kB / 1.215 GB, free: 10.63 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004648/1.027, allocations: 202.5 kB / 1.215 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.027, allocations: 0 / 1.215 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.027, allocations: 114.8 kB / 1.215 GB, free: 10.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.028, allocations: 222.4 kB / 1.215 GB, free: 10.39 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/1.03, allocations: 0.8946 MB / 1.216 GB, free: 9.762 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/1.03, allocations: 0.8293 MB / 1.217 GB, free: 8.992 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002636/1.031, allocations: 87.31 kB / 1.217 GB, free: 8.953 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/1.031, allocations: 32.59 kB / 1.217 GB, free: 8.949 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/1.031, allocations: 0 / 1.217 GB, free: 8.949 MB / 0.92 GB Notification: Performance of Templates: time 0.01397/1.045, allocations: 8.036 MB / 1.225 GB, free: 2.016 MB / 0.92 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches