Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001094/0.001094, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001205/0.001206, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.9 MB / 0.666 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004085, allocations: 8 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.012, allocations: 142.4 MB / 0.9544 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2195/1.232, allocations: 158 MB / 1.109 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004287/1.236, allocations: 2.182 MB / 1.111 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/1.237, allocations: 11.94 kB / 1.111 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007269/1.238, allocations: 158.9 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/1.24, allocations: 0.6842 MB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/1.242, allocations: 0.6005 MB / 1.112 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001566/1.243, allocations: 1.148 MB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/1.244, allocations: 249.5 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007277/1.245, allocations: 414.3 kB / 1.114 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/1.245, allocations: 306.8 kB / 1.114 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/1.245, allocations: 16 kB / 1.114 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/1.247, allocations: 0.5261 MB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/1.247, allocations: 135.6 kB / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/1.247, allocations: 113.4 kB / 1.115 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007277/1.248, allocations: 0.5574 MB / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.248, allocations: 0 / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.414e-06/1.248, allocations: 0 / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.248, allocations: 0 / 1.116 GB, free: 10.12 MB / 0.8731 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.001177/1.249, allocations: 0.7282 MB / 1.116 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.249, allocations: 15.97 kB / 1.116 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.25, allocations: 179.2 kB / 1.117 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/1.251, allocations: 353.8 kB / 1.117 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/1.251, allocations: 28.61 kB / 1.117 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/1.251, allocations: 32 kB / 1.117 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/1.251, allocations: 373.1 kB / 1.117 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.251, allocations: 7.875 kB / 1.117 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/1.251, allocations: 16 kB / 1.117 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/1.251, allocations: 8 kB / 1.117 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/1.252, allocations: 270 kB / 1.118 GB, free: 8.027 MB / 0.8731 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.002037/1.254, allocations: 1.679 MB / 1.119 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/1.254, allocations: 223.7 kB / 1.119 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/1.255, allocations: 116.8 kB / 1.12 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/1.256, allocations: 0.8857 MB / 1.12 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.256, allocations: 34.55 kB / 1.12 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 2.424e-06/1.256, allocations: 0 / 1.12 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0009456/1.257, allocations: 367.2 kB / 1.121 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.257, allocations: 59.39 kB / 1.121 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/1.257, allocations: 414 kB / 1.121 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/1.257, allocations: 33.7 kB / 1.121 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/1.257, allocations: 220.2 kB / 1.121 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/1.258, allocations: 82.77 kB / 1.122 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/1.258, allocations: 4 kB / 1.122 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.258, allocations: 354.7 kB / 1.122 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/1.258, allocations: 83.95 kB / 1.122 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/1.258, allocations: 135.3 kB / 1.122 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/1.258, allocations: 98.72 kB / 1.122 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.258, allocations: 0 / 1.122 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005074/1.259, allocations: 285.1 kB / 1.122 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.259, allocations: 4 kB / 1.122 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.259, allocations: 4 kB / 1.122 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.259, allocations: 3.984 kB / 1.122 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/1.259, allocations: 59.91 kB / 1.123 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.259, allocations: 4.031 kB / 1.123 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.26, allocations: 43.67 kB / 1.123 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/1.26, allocations: 11.98 kB / 1.123 GB, free: 2.469 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/1.26, allocations: 161.7 kB / 1.123 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/1.26, allocations: 43.53 kB / 1.123 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/1.26, allocations: 297 kB / 1.123 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/1.26, allocations: 4.109 kB / 1.123 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.26, allocations: 3.938 kB / 1.123 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.26, allocations: 0 / 1.123 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/1.262, allocations: 0.825 MB / 1.124 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.262, allocations: 0 / 1.124 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/1.262, allocations: 55.97 kB / 1.124 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.262, allocations: 0 / 1.124 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/1.262, allocations: 11.94 kB / 1.124 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/1.262, allocations: 11.89 kB / 1.124 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.262, allocations: 0 / 1.124 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/1.263, allocations: 0.5219 MB / 1.124 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.263, allocations: 144.5 kB / 1.125 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/1.263, allocations: 8 kB / 1.125 GB, free: 260 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/1.263, allocations: 39.86 kB / 1.125 GB, free: 220 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/1.263, allocations: 15.98 kB / 1.125 GB, free: 204 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/1.263, allocations: 8 kB / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003274/1.264, allocations: 295.1 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/1.264, allocations: 0 / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004649/1.264, allocations: 127.8 kB / 1.125 GB, free: 15.78 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004573/1.265, allocations: 178.1 kB / 1.125 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004724/1.265, allocations: 215.8 kB / 1.125 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.265, allocations: 0 / 1.125 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/1.265, allocations: 121.8 kB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/1.266, allocations: 213.2 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/1.268, allocations: 1.098 MB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/1.269, allocations: 0.8197 MB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003161/1.269, allocations: 87.33 kB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/1.269, allocations: 31.44 kB / 1.128 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/1.269, allocations: 0 / 1.128 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of Templates: time 0.01513/1.284, allocations: 7.414 MB / 1.135 GB, free: 5.684 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches