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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001554/0.001554, 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.001793/0.001793, allocations: 193 kB / 16.13 MB, free: 6.648 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 65.83 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3613, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1916/0.5529, allocations: 171.6 MB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003984/0.5569, allocations: 2.317 MB / 1.222 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.5574, allocations: 11.94 kB / 1.222 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007881/0.5582, allocations: 190.8 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.5605, allocations: 0.8714 MB / 1.223 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.5628, allocations: 0.7539 MB / 1.224 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.5645, allocations: 1.348 MB / 1.225 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.5649, allocations: 278.3 kB / 1.225 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007002/0.5656, allocations: 414.4 kB / 1.226 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.566, allocations: 330.6 kB / 1.226 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.5661, allocations: 20 kB / 1.226 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.5683, allocations: 1.169 MB / 1.227 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.5685, allocations: 135.6 kB / 1.227 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.5688, allocations: 226.8 kB / 1.227 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.5702, allocations: 0.962 MB / 1.228 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5702, allocations: 0 / 1.228 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5702, allocations: 0 / 1.228 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5702, allocations: 0 / 1.228 GB, free: 3.594 MB / 0.9825 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.001253/0.5715, allocations: 0.7945 MB / 1.229 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5715, allocations: 11.97 kB / 1.229 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.5728, allocations: 183.2 kB / 1.229 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.5733, allocations: 377.3 kB / 1.23 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.5733, allocations: 24.66 kB / 1.23 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.5734, allocations: 39.98 kB / 1.23 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006163/0.574, allocations: 361.1 kB / 1.23 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.574, allocations: 4 kB / 1.23 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.5741, allocations: 8 kB / 1.23 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.5741, allocations: 27.86 kB / 1.23 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.5746, allocations: 254 kB / 1.23 GB, free: 1.422 MB / 0.9825 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.001934/0.5765, allocations: 1.68 MB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.5769, allocations: 198.5 kB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.5772, allocations: 116.8 kB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.5782, allocations: 0.8701 MB / 1.233 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5783, allocations: 34.56 kB / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.5783, allocations: 0 / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0008836/0.5792, allocations: 359.4 kB / 1.234 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.5792, allocations: 59.41 kB / 1.234 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.5797, allocations: 418 kB / 1.234 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.5797, allocations: 33.7 kB / 1.234 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5799, allocations: 220.2 kB / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.5799, allocations: 78.75 kB / 1.234 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.775e-05/0.58, allocations: 49.7 kB / 1.234 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5802, allocations: 354.7 kB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.5804, allocations: 83.94 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.5806, allocations: 124.2 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.581, allocations: 213.3 kB / 1.235 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.581, allocations: 0 / 1.235 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005003/0.5815, allocations: 290.6 kB / 1.235 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5815, allocations: 4 kB / 1.235 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5815, allocations: 0 / 1.235 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5816, allocations: 4 kB / 1.235 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.5818, allocations: 51.91 kB / 1.235 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5818, allocations: 0 / 1.235 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.5821, allocations: 51.55 kB / 1.236 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.5821, allocations: 8 kB / 1.236 GB, free: 11.77 MB / 0.9981 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.0001694/0.5823, allocations: 157.8 kB / 1.236 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.5824, allocations: 51.53 kB / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.5829, allocations: 281.2 kB / 1.236 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5829, allocations: 4 kB / 1.236 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5829, allocations: 0 / 1.236 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.583, allocations: 7.922 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5842, allocations: 0.8151 MB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.5842, allocations: 0 / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.5844, allocations: 51.84 kB / 1.237 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5844, allocations: 4 kB / 1.237 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.5844, allocations: 8 kB / 1.237 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5845, allocations: 4 kB / 1.237 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5845, allocations: 4 kB / 1.237 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.5852, allocations: 0.5045 MB / 1.237 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.5854, allocations: 148.5 kB / 1.238 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.5854, allocations: 0 / 1.238 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.5857, allocations: 27.97 kB / 1.238 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.5858, allocations: 19.97 kB / 1.238 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5858, allocations: 12 kB / 1.238 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000291/0.5861, allocations: 307.1 kB / 1.238 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5861, allocations: 0 / 1.238 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004565/0.5866, allocations: 111.8 kB / 1.238 GB, free: 9.121 MB / 0.9981 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.0004638/0.5871, allocations: 197.5 kB / 1.238 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004634/0.5875, allocations: 205.8 kB / 1.238 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5875, allocations: 0 / 1.238 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.5878, allocations: 112.2 kB / 1.238 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5889, allocations: 217.6 kB / 1.239 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.5904, allocations: 1.026 MB / 1.24 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.5907, allocations: 0.8314 MB / 1.24 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.591, allocations: 87.33 kB / 1.241 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.5911, allocations: 35.44 kB / 1.241 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.5911, allocations: 0 / 1.241 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of Templates: time 0.5856/1.177, allocations: 7.664 MB / 1.248 GB, free: 193.2 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches