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.001334/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001483/0.001483, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 472.7 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 71.45 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5807, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.345/0.9258, allocations: 171.6 MB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00616/0.932, allocations: 2.33 MB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.9331, allocations: 15.88 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.9342, allocations: 186.9 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.9384, allocations: 0.8753 MB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.9424, allocations: 0.7502 MB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002712/0.9451, allocations: 1.333 MB / 1.24 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008833/0.946, allocations: 282.3 kB / 1.241 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.9476, allocations: 426.3 kB / 1.241 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/0.9486, allocations: 326.6 kB / 1.241 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.9487, allocations: 20 kB / 1.241 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005157/0.9539, allocations: 1.161 MB / 1.243 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.9544, allocations: 139.5 kB / 1.243 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009048/0.9553, allocations: 234.8 kB / 1.243 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.9589, allocations: 0.9542 MB / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.959, allocations: 0 / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.959, allocations: 0 / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.191e-05/0.959, allocations: 0 / 1.244 GB, free: 5.621 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.003381/0.9624, allocations: 0.8023 MB / 1.245 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.304e-05/0.9625, allocations: 11.97 kB / 1.245 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.9651, allocations: 183.1 kB / 1.245 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.9664, allocations: 373.5 kB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.9665, allocations: 24.66 kB / 1.245 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.9666, allocations: 31.91 kB / 1.245 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.9678, allocations: 373.1 kB / 1.246 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.9679, allocations: 7.938 kB / 1.246 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.9679, allocations: 12 kB / 1.246 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.968, allocations: 15.88 kB / 1.246 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.969, allocations: 262 kB / 1.246 GB, free: 3.434 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.003515/0.9726, allocations: 1.667 MB / 1.248 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.9733, allocations: 206.5 kB / 1.248 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.9737, allocations: 116.8 kB / 1.248 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.9755, allocations: 0.87 MB / 1.249 GB, free: 256 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.9756, allocations: 38.56 kB / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 7.314e-06/0.9756, allocations: 112 / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.9102/1.886, allocations: 358.9 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.886, allocations: 53.75 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/1.886, allocations: 422 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/1.887, allocations: 31.14 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.887, allocations: 212.3 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/1.887, allocations: 82.27 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/1.887, allocations: 49.53 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/1.887, allocations: 355.2 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/1.887, allocations: 76.44 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/1.887, allocations: 131.1 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/1.888, allocations: 213.1 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.888, allocations: 1.406 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005812/1.888, allocations: 283.2 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.888, allocations: 5.062 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.888, allocations: 0.875 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.889, allocations: 4.266 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/1.889, allocations: 50.25 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.889, allocations: 2.5 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/1.889, allocations: 42.69 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/1.889, allocations: 12.42 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.0001564/1.889, allocations: 169 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/1.889, allocations: 40.52 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006408/1.89, allocations: 283.7 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/1.89, allocations: 3.781 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.89, allocations: 0.9688 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.89, allocations: 1.875 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/1.891, allocations: 0.8113 MB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.891, allocations: 5.469 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/1.892, allocations: 45.61 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/1.892, allocations: 3.719 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.892, allocations: 9.188 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.892, allocations: 6.781 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.892, allocations: 1.969 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/1.892, allocations: 0.5052 MB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/1.892, allocations: 144.6 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/1.893, allocations: 16.73 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/1.893, allocations: 30.47 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/1.893, allocations: 14.59 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/1.893, allocations: 11.88 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003267/1.893, allocations: 300.3 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.893, allocations: 3.969 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000547/1.894, allocations: 110.2 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.0004754/1.894, allocations: 193.4 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005592/1.895, allocations: 215.3 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.895, allocations: 0 / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/1.895, allocations: 113 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.001199/1.896, allocations: 216.2 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.001671/1.898, allocations: 1.031 MB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/1.898, allocations: 0.8314 MB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002974/1.899, allocations: 85.06 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/1.899, allocations: 32.84 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.899, allocations: 0 / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01579/1.915, allocations: 7.681 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