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.001609/0.001609, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.001854/0.001854, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.553/2.553, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6893, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1675/0.8569, allocations: 173.8 MB / 1.396 GB, free: 15 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003576/0.8605, allocations: 2.305 MB / 1.398 GB, free: 12.7 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.8608, allocations: 19.88 kB / 1.398 GB, free: 12.68 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.8615, allocations: 230.4 kB / 1.399 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.8634, allocations: 0.9684 MB / 1.4 GB, free: 11.48 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.8651, allocations: 0.8387 MB / 1.4 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009745/0.8661, allocations: 0.9701 MB / 1.401 GB, free: 9.668 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.8666, allocations: 330.9 kB / 1.402 GB, free: 9.34 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.8671, allocations: 466.3 kB / 1.402 GB, free: 8.883 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.8675, allocations: 318.6 kB / 1.402 GB, free: 8.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.8676, allocations: 36 kB / 1.402 GB, free: 8.535 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.869, allocations: 0.9976 MB / 1.403 GB, free: 7.535 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.8692, allocations: 139.6 kB / 1.403 GB, free: 7.398 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.8694, allocations: 246.7 kB / 1.404 GB, free: 7.156 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.8705, allocations: 0.8962 MB / 1.405 GB, free: 6.262 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8705, allocations: 4 kB / 1.405 GB, free: 6.258 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8705, allocations: 0 / 1.405 GB, free: 6.258 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.8705, allocations: 0 / 1.405 GB, free: 6.258 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.001083/0.8716, allocations: 0.8207 MB / 1.405 GB, free: 5.387 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.8716, allocations: 8.031 kB / 1.405 GB, free: 5.379 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.8728, allocations: 195.4 kB / 1.406 GB, free: 5.188 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.8733, allocations: 389.8 kB / 1.406 GB, free: 4.766 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.8734, allocations: 24.59 kB / 1.406 GB, free: 4.742 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.8734, allocations: 32 kB / 1.406 GB, free: 4.711 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.874, allocations: 369.1 kB / 1.406 GB, free: 4.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.874, allocations: 4 kB / 1.406 GB, free: 4.316 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.874, allocations: 12 kB / 1.406 GB, free: 4.305 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.8741, allocations: 11.94 kB / 1.406 GB, free: 4.293 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.8745, allocations: 269.9 kB / 1.407 GB, free: 4.031 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.001595/0.8762, allocations: 1.68 MB / 1.408 GB, free: 2.215 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.8765, allocations: 198.5 kB / 1.408 GB, free: 2.012 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.8767, allocations: 116.8 kB / 1.409 GB, free: 1.895 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/0.8776, allocations: 0.8701 MB / 1.409 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.8777, allocations: 42.42 kB / 1.409 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.8777, allocations: 4 kB / 1.409 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of matching and sorting (n=23): time 0.0008059/0.8785, allocations: 346.6 kB / 1.41 GB, free: 452 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.8785, allocations: 55.41 kB / 1.41 GB, free: 384 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.8789, allocations: 433.8 kB / 1.41 GB, free: 15.94 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.879, allocations: 29.7 kB / 1.41 GB, free: 15.91 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.8791, allocations: 212.5 kB / 1.411 GB, free: 15.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.8792, allocations: 87.22 kB / 1.411 GB, free: 15.61 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.8793, allocations: 49.7 kB / 1.411 GB, free: 15.55 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8794, allocations: 354.7 kB / 1.411 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.8796, allocations: 79.95 kB / 1.411 GB, free: 15.12 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.8798, allocations: 123.4 kB / 1.411 GB, free: 14.99 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.8802, allocations: 207.3 kB / 1.411 GB, free: 14.77 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8802, allocations: 0 / 1.411 GB, free: 14.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004837/0.8807, allocations: 283.6 kB / 1.412 GB, free: 14.49 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.8807, allocations: 12.06 kB / 1.412 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8807, allocations: 0 / 1.412 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8807, allocations: 0 / 1.412 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.8809, allocations: 51.91 kB / 1.412 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.881, allocations: 4 kB / 1.412 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.8812, allocations: 35.7 kB / 1.412 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.8812, allocations: 8.094 kB / 1.412 GB, free: 14.38 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.0001447/0.8813, allocations: 161.8 kB / 1.412 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.8814, allocations: 51.81 kB / 1.412 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.882, allocations: 299.3 kB / 1.412 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.882, allocations: 3.938 kB / 1.412 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.882, allocations: 0 / 1.412 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.8821, allocations: 148.7 kB / 1.412 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.8822, allocations: 0 / 1.412 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.8824, allocations: 15.98 kB / 1.412 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.8825, allocations: 19.97 kB / 1.412 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006036/0.8831, allocations: 336.6 kB / 1.413 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000724/0.8838, allocations: 0.5553 MB / 1.413 GB, free: 12.76 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001872/0.884, allocations: 102.4 kB / 1.413 GB, free: 12.66 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000275/0.8843, allocations: 303.1 kB / 1.414 GB, free: 12.37 MB / 1.139 GB Notification: Performance of Backend: time 3.3e-07/0.8843, allocations: 0 / 1.414 GB, free: 12.37 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.8855, allocations: 431.2 kB / 1.414 GB, free: 11.95 MB / 1.139 GB Notification: Performance of SimCode: time 0.001713/0.8872, allocations: 1.446 MB / 1.415 GB, free: 10.46 MB / 1.139 GB Notification: Performance of Templates: time 0.015/0.9022, allocations: 10.26 MB / 1.426 GB, free: 312 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches