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.006715/0.006715, allocations: 101 kB / 15.73 MB, free: 6.059 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.001549/0.001549, allocations: 195.1 kB / 16.68 MB, free: 5.969 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.631/2.631, allocations: 472.6 MB / 0.7453 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 71.88 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8014, allocations: 159.9 MB / 1.226 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1834/0.9848, allocations: 173.8 MB / 1.395 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003896/0.9888, allocations: 2.3 MB / 1.398 GB, free: 12.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.9893, allocations: 15.88 kB / 1.398 GB, free: 12.9 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.9901, allocations: 238.4 kB / 1.398 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.9923, allocations: 0.9294 MB / 1.399 GB, free: 11.73 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.9943, allocations: 0.8214 MB / 1.4 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.9956, allocations: 0.9623 MB / 1.4 GB, free: 9.945 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.9961, allocations: 334.9 kB / 1.401 GB, free: 9.613 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.9968, allocations: 458.3 kB / 1.401 GB, free: 9.164 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.9972, allocations: 314.6 kB / 1.402 GB, free: 8.855 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.9973, allocations: 32 kB / 1.402 GB, free: 8.824 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.9991, allocations: 0.9937 MB / 1.403 GB, free: 7.828 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.9993, allocations: 143.6 kB / 1.403 GB, free: 7.688 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.9995, allocations: 242.7 kB / 1.403 GB, free: 7.449 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/1.001, allocations: 0.8966 MB / 1.404 GB, free: 6.551 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.001, allocations: 0 / 1.404 GB, free: 6.551 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.393e-06/1.001, allocations: 4 kB / 1.404 GB, free: 6.547 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.001, allocations: 0 / 1.404 GB, free: 6.547 MB / 1.123 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.001209/1.002, allocations: 0.8285 MB / 1.405 GB, free: 5.668 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.002, allocations: 8.031 kB / 1.405 GB, free: 5.66 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.003, allocations: 191.4 kB / 1.405 GB, free: 5.473 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/1.004, allocations: 381.8 kB / 1.405 GB, free: 5.059 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/1.004, allocations: 24.66 kB / 1.405 GB, free: 5.035 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/1.004, allocations: 32 kB / 1.405 GB, free: 5.004 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/1.005, allocations: 373.1 kB / 1.406 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.005, allocations: 0 / 1.406 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/1.005, allocations: 20 kB / 1.406 GB, free: 4.59 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/1.005, allocations: 15.94 kB / 1.406 GB, free: 4.574 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/1.005, allocations: 262 kB / 1.406 GB, free: 4.32 MB / 1.123 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.001792/1.007, allocations: 1.676 MB / 1.407 GB, free: 2.508 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/1.008, allocations: 210.4 kB / 1.408 GB, free: 2.293 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/1.008, allocations: 116.8 kB / 1.408 GB, free: 2.176 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.009, allocations: 0.8662 MB / 1.409 GB, free: 1.125 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.009, allocations: 34.56 kB / 1.409 GB, free: 1.082 MB / 1.123 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/1.009, allocations: 0 / 1.409 GB, free: 1.082 MB / 1.123 GB Notification: Performance of matching and sorting (n=23): time 0.0008852/1.01, allocations: 359.5 kB / 1.409 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.01, allocations: 63.34 kB / 1.409 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/1.01, allocations: 421.9 kB / 1.409 GB, free: 236 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.01, allocations: 29.7 kB / 1.409 GB, free: 200 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/1.01, allocations: 216.6 kB / 1.41 GB, free: 15.98 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/1.011, allocations: 91.22 kB / 1.41 GB, free: 15.89 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/1.011, allocations: 45.7 kB / 1.41 GB, free: 15.84 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.011, allocations: 362.7 kB / 1.41 GB, free: 15.47 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.011, allocations: 75.89 kB / 1.41 GB, free: 15.4 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/1.011, allocations: 123.4 kB / 1.41 GB, free: 15.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/1.012, allocations: 208.8 kB / 1.411 GB, free: 15.05 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.012, allocations: 4 kB / 1.411 GB, free: 15.05 MB / 1.139 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005278/1.012, allocations: 284 kB / 1.411 GB, free: 14.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.012, allocations: 4 kB / 1.411 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.012, allocations: 4.031 kB / 1.411 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.012, allocations: 4 kB / 1.411 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/1.012, allocations: 51.91 kB / 1.411 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/1.012, allocations: 3.938 kB / 1.411 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/1.013, allocations: 35.77 kB / 1.411 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/1.013, allocations: 12 kB / 1.411 GB, free: 14.65 MB / 1.139 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.000166/1.013, allocations: 158.6 kB / 1.411 GB, free: 14.49 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/1.013, allocations: 47.72 kB / 1.411 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005812/1.014, allocations: 295.3 kB / 1.411 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.014, allocations: 4.109 kB / 1.411 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.014, allocations: 7.875 kB / 1.411 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.014, allocations: 3.984 kB / 1.411 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/1.015, allocations: 0.7998 MB / 1.412 GB, free: 13.26 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.015, allocations: 3.938 kB / 1.412 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/1.015, allocations: 39.98 kB / 1.412 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.015, allocations: 4 kB / 1.412 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.015, allocations: 7.984 kB / 1.412 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.015, allocations: 8.188 kB / 1.412 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.015, allocations: 7.938 kB / 1.412 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/1.016, allocations: 0.5058 MB / 1.413 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/1.016, allocations: 144.8 kB / 1.413 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/1.016, allocations: 8 kB / 1.413 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/1.016, allocations: 15.98 kB / 1.413 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/1.016, allocations: 19.91 kB / 1.413 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.016, allocations: 19.94 kB / 1.413 GB, free: 12.43 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003067/1.017, allocations: 299.1 kB / 1.413 GB, free: 12.14 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.5e-07/1.017, allocations: 0 / 1.413 GB, free: 12.14 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000446/1.017, allocations: 115.8 kB / 1.413 GB, free: 12.03 MB / 1.139 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/1.018, allocations: 198.5 kB / 1.414 GB, free: 11.83 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004936/1.018, allocations: 207.8 kB / 1.414 GB, free: 11.63 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.018, allocations: 0 / 1.414 GB, free: 11.63 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.018, allocations: 116.2 kB / 1.414 GB, free: 11.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/1.02, allocations: 219 kB / 1.414 GB, free: 11.3 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/1.021, allocations: 0.9198 MB / 1.415 GB, free: 10.34 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/1.021, allocations: 0.8233 MB / 1.416 GB, free: 9.488 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002545/1.022, allocations: 79.36 kB / 1.416 GB, free: 9.406 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/1.022, allocations: 39.42 kB / 1.416 GB, free: 9.367 MB / 1.139 GB Notification: Performance of SimCode: time 2.3e-07/1.022, allocations: 0 / 1.416 GB, free: 9.367 MB / 1.139 GB Notification: Performance of Templates: time 0.01379/1.036, allocations: 8.083 MB / 1.424 GB, free: 1.414 MB / 1.139 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