Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001627/0.001627, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00206/0.002061, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.651/0.6523, allocations: 151.6 MB / 1.017 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1774/0.8297, allocations: 171.5 MB / 1.184 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003614/0.8334, allocations: 2.282 MB / 1.186 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.8338, allocations: 15.88 kB / 1.187 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.8345, allocations: 198.9 kB / 1.187 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.8366, allocations: 0.8792 MB / 1.188 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.8385, allocations: 0.7633 MB / 1.188 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.8398, allocations: 0.9662 MB / 1.189 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.8402, allocations: 319 kB / 1.19 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.8409, allocations: 462.2 kB / 1.19 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.8413, allocations: 334.6 kB / 1.19 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.8413, allocations: 32 kB / 1.19 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.8429, allocations: 1.029 MB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.8431, allocations: 143.5 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.8433, allocations: 242.7 kB / 1.192 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.8448, allocations: 0.9699 MB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8448, allocations: 0 / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8448, allocations: 0 / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.8448, allocations: 0 / 1.193 GB, free: 14.13 MB / 0.9512 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.001142/0.846, allocations: 0.7944 MB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.846, allocations: 8.031 kB / 1.193 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.8473, allocations: 187.1 kB / 1.194 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.8478, allocations: 377.4 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.8478, allocations: 24.66 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.8479, allocations: 32 kB / 1.194 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.8485, allocations: 369.1 kB / 1.194 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.8485, allocations: 0 / 1.194 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.8485, allocations: 16 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.8486, allocations: 15.92 kB / 1.194 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.8491, allocations: 262 kB / 1.195 GB, free: 11.96 MB / 0.9512 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.001734/0.8508, allocations: 1.675 MB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.8512, allocations: 202.5 kB / 1.196 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.8514, allocations: 112.8 kB / 1.197 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.8524, allocations: 0.8701 MB / 1.197 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.8525, allocations: 38.56 kB / 1.197 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.8525, allocations: 0 / 1.197 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008717/0.8534, allocations: 354.7 kB / 1.198 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.8534, allocations: 55.41 kB / 1.198 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.8538, allocations: 421.9 kB / 1.198 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.8539, allocations: 33.7 kB / 1.198 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.854, allocations: 208.2 kB / 1.199 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.8541, allocations: 90.73 kB / 1.199 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.8542, allocations: 49.7 kB / 1.199 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8544, allocations: 350.7 kB / 1.199 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.8546, allocations: 87.94 kB / 1.199 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.8548, allocations: 128.5 kB / 1.199 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.8552, allocations: 214.6 kB / 1.199 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8552, allocations: 3.938 kB / 1.199 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005177/0.8557, allocations: 280.9 kB / 1.2 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.8558, allocations: 4 kB / 1.2 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8558, allocations: 4 kB / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8558, allocations: 0 / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.856, allocations: 47.97 kB / 1.2 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.856, allocations: 4 kB / 1.2 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.8563, allocations: 47.58 kB / 1.2 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.8563, allocations: 8 kB / 1.2 GB, free: 6.309 MB / 0.9512 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.0001725/0.8565, allocations: 169.7 kB / 1.2 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.8566, allocations: 43.44 kB / 1.2 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.8572, allocations: 290.6 kB / 1.2 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.8572, allocations: 3.984 kB / 1.2 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8572, allocations: 4 kB / 1.2 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8572, allocations: 3.938 kB / 1.2 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.8584, allocations: 0.8089 MB / 1.201 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8585, allocations: 4 kB / 1.201 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.8587, allocations: 47.91 kB / 1.201 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.8587, allocations: 0 / 1.201 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.8587, allocations: 8 kB / 1.201 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.8588, allocations: 4 kB / 1.201 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8588, allocations: 192 / 1.201 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.8595, allocations: 0.5159 MB / 1.202 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.8597, allocations: 144.5 kB / 1.202 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.8597, allocations: 7.984 kB / 1.202 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.86, allocations: 19.98 kB / 1.202 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.8601, allocations: 23.97 kB / 1.202 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.8601, allocations: 8 kB / 1.202 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002988/0.8604, allocations: 307.1 kB / 1.202 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8604, allocations: 0 / 1.202 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004399/0.8609, allocations: 119.8 kB / 1.202 GB, free: 3.656 MB / 0.9512 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.0003951/0.8613, allocations: 191.3 kB / 1.202 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.8618, allocations: 227.6 kB / 1.203 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8618, allocations: 0 / 1.203 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.8621, allocations: 116 kB / 1.203 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.8632, allocations: 220.1 kB / 1.203 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.8647, allocations: 1.02 MB / 1.204 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.8651, allocations: 0.8311 MB / 1.205 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000301/0.8654, allocations: 87.28 kB / 1.205 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.8655, allocations: 35.44 kB / 1.205 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.8655, allocations: 0 / 1.205 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of Templates: time 0.0139/0.8794, allocations: 7.95 MB / 1.213 GB, free: 9.074 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches