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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001286/0.001286, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001632/0.001632, allocations: 191.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.498/1.498, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.7 MB / 0.7448 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.002051, allocations: 63.17 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4949, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.234/0.7289, allocations: 171.5 MB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005098/0.7341, allocations: 2.277 MB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006815/0.7348, allocations: 11.94 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.7359, allocations: 202.8 kB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.7391, allocations: 0.8793 MB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.7419, allocations: 0.7626 MB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.7438, allocations: 0.9662 MB / 1.24 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006986/0.7445, allocations: 322.9 kB / 1.24 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.7455, allocations: 458.2 kB / 1.241 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.746, allocations: 338.6 kB / 1.241 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.7461, allocations: 32 kB / 1.241 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.7487, allocations: 1.021 MB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.7489, allocations: 155.6 kB / 1.242 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.7492, allocations: 242.8 kB / 1.243 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.7513, allocations: 0.9698 MB / 1.244 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.7513, allocations: 0 / 1.244 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7513, allocations: 0 / 1.244 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.7514, allocations: 0 / 1.244 GB, free: 5.953 MB / 0.9981 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.001506/0.7529, allocations: 0.7983 MB / 1.244 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.7529, allocations: 8.031 kB / 1.244 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.7543, allocations: 187.1 kB / 1.245 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.7549, allocations: 377.4 kB / 1.245 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.755, allocations: 20.66 kB / 1.245 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.7551, allocations: 31.91 kB / 1.245 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.7558, allocations: 377.1 kB / 1.245 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7558, allocations: 0 / 1.245 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.7559, allocations: 12 kB / 1.245 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.7559, allocations: 19.86 kB / 1.245 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.7565, allocations: 258 kB / 1.246 GB, free: 3.777 MB / 0.9981 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.002111/0.7586, allocations: 1.675 MB / 1.247 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.759, allocations: 204.5 kB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.7593, allocations: 116.8 kB / 1.248 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.7606, allocations: 0.8662 MB / 1.248 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.7606, allocations: 38.56 kB / 1.248 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.7606, allocations: 4 kB / 1.248 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009888/0.7616, allocations: 359.5 kB / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.7617, allocations: 55.41 kB / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7521/1.514, allocations: 423.8 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/1.514, allocations: 30.67 kB / 1.249 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/1.514, allocations: 214.9 kB / 1.249 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/1.514, allocations: 79.8 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.514, allocations: 55.19 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.514, allocations: 354.1 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/1.515, allocations: 77.98 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/1.515, allocations: 127.6 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/1.515, allocations: 205 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.515, allocations: 0.6562 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005857/1.516, allocations: 285.3 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.516, allocations: 7.125 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.516, allocations: 0.875 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.516, allocations: 3.766 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/1.516, allocations: 49.56 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.516, allocations: 8.016 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/1.517, allocations: 39.92 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/1.517, allocations: 11.84 kB / 1.251 GB, free: 186.6 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.0002103/1.517, allocations: 162.6 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/1.517, allocations: 52.22 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/1.518, allocations: 280.1 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.518, allocations: 3.984 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.518, allocations: 3.969 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.518, allocations: 1.922 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/1.519, allocations: 0.8171 MB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.519, allocations: 2.281 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/1.519, allocations: 46.69 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.519, allocations: 2.812 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.519, allocations: 7.719 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.519, allocations: 3.859 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.519, allocations: 3.938 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/1.52, allocations: 0.5049 MB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/1.52, allocations: 143 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/1.52, allocations: 8 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/1.521, allocations: 23.14 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/1.521, allocations: 28.11 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/1.521, allocations: 12.64 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003556/1.521, allocations: 302.2 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.521, allocations: 0 / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005043/1.522, allocations: 113.5 kB / 1.253 GB, free: 185.6 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.0005159/1.522, allocations: 189 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006012/1.523, allocations: 217.8 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.523, allocations: 1.062 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/1.523, allocations: 113.9 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.524, allocations: 233.3 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/1.526, allocations: 1.034 MB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/1.526, allocations: 0.8337 MB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003187/1.527, allocations: 85.33 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/1.527, allocations: 40.08 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.527, allocations: 0 / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01717/1.544, allocations: 7.936 MB / 1.264 GB, free: 183.7 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