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.0009381/0.0009382, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006836/0.006836, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.852/2.852, allocations: 462.6 MB / 0.7364 GB, free: 324 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004198, allocations: 12.97 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4713, allocations: 159.6 MB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2407/0.7121, allocations: 169.3 MB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004749/0.7169, allocations: 2.287 MB / 1.226 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008942/0.7178, allocations: 7.938 kB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.7189, allocations: 190.8 kB / 1.226 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.7222, allocations: 0.8792 MB / 1.227 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.7251, allocations: 0.7511 MB / 1.228 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.7275, allocations: 1.341 MB / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.7284, allocations: 276.4 kB / 1.23 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.7297, allocations: 410.3 kB / 1.23 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.7306, allocations: 330.6 kB / 1.23 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.7308, allocations: 16 kB / 1.23 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.7339, allocations: 1.165 MB / 1.231 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.7343, allocations: 127.6 kB / 1.232 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.7349, allocations: 252.5 kB / 1.232 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.7373, allocations: 0.9463 MB / 1.233 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.7373, allocations: 0 / 1.233 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.447e-06/0.7373, allocations: 3.938 kB / 1.233 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.7373, allocations: 0 / 1.233 GB, free: 2.574 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.001336/0.7387, allocations: 0.7245 MB / 1.233 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.7387, allocations: 12.03 kB / 1.233 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.74, allocations: 179.2 kB / 1.234 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.7406, allocations: 373.4 kB / 1.234 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.7407, allocations: 28.64 kB / 1.234 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.7407, allocations: 32 kB / 1.234 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.7415, allocations: 377.1 kB / 1.234 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.7415, allocations: 0 / 1.234 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.7415, allocations: 12 kB / 1.234 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.7416, allocations: 11.94 kB / 1.234 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.7421, allocations: 278 kB / 1.235 GB, free: 472 kB / 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.00216/0.7443, allocations: 1.664 MB / 1.236 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.7447, allocations: 222.4 kB / 1.237 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.745, allocations: 116.8 kB / 1.237 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.7462, allocations: 0.8857 MB / 1.238 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.7462, allocations: 42.56 kB / 1.238 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.7462, allocations: 0 / 1.238 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009454/0.7472, allocations: 379.5 kB / 1.238 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.7472, allocations: 55.41 kB / 1.238 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.7477, allocations: 422 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.7477, allocations: 29.7 kB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.7479, allocations: 216.2 kB / 1.239 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.748, allocations: 82.83 kB / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.7481, allocations: 29.7 kB / 1.239 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7482, allocations: 354.8 kB / 1.239 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.7484, allocations: 91.83 kB / 1.239 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.7487, allocations: 132 kB / 1.239 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.7491, allocations: 221.4 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7491, allocations: 0 / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005196/0.7496, allocations: 292.9 kB / 1.24 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.7497, allocations: 8 kB / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7497, allocations: 0 / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7497, allocations: 0 / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.7499, allocations: 55.91 kB / 1.24 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.75, allocations: 7.938 kB / 1.24 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.7502, allocations: 43.7 kB / 1.24 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.7503, allocations: 15.98 kB / 1.24 GB, free: 10.74 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.0001929/0.7505, allocations: 159.3 kB / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.7506, allocations: 39.53 kB / 1.24 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.7512, allocations: 301.1 kB / 1.24 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7512, allocations: 0 / 1.24 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7512, allocations: 3.938 kB / 1.24 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7512, allocations: 0 / 1.24 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.7525, allocations: 0.827 MB / 1.241 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7525, allocations: 0 / 1.241 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.7527, allocations: 43.97 kB / 1.241 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.7528, allocations: 4 kB / 1.241 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.7528, allocations: 8 kB / 1.241 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.7528, allocations: 7.938 kB / 1.241 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7528, allocations: 0 / 1.241 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/0.7537, allocations: 0.5258 MB / 1.242 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.7539, allocations: 148.6 kB / 1.242 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.7539, allocations: 8 kB / 1.242 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.7542, allocations: 27.97 kB / 1.242 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.7543, allocations: 15.98 kB / 1.242 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.7543, allocations: 12.12 kB / 1.242 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003272/0.7547, allocations: 303.1 kB / 1.242 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7547, allocations: 0 / 1.242 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005381/0.7552, allocations: 119.8 kB / 1.242 GB, free: 8.062 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.00053/0.7558, allocations: 203 kB / 1.243 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005053/0.7563, allocations: 221.2 kB / 1.243 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7563, allocations: 4 kB / 1.243 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.7565, allocations: 122.3 kB / 1.243 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7578, allocations: 210.9 kB / 1.243 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.7596, allocations: 1.106 MB / 1.244 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.7601, allocations: 0.8353 MB / 1.245 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003437/0.7604, allocations: 83.28 kB / 1.245 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.7605, allocations: 35.44 kB / 1.245 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.7605, allocations: 0 / 1.245 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of Templates: time 0.7428/1.503, allocations: 7.617 MB / 1.253 GB, free: 190.9 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