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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009247/0.009247, allocations: 104.5 kB / 15.74 MB, free: 6.441 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.001807/0.001807, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 66.83 kB / 0.9508 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3418, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1941/0.5359, allocations: 173.8 MB / 1.258 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004641/0.5406, allocations: 2.312 MB / 1.26 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006958/0.5414, allocations: 15.88 kB / 1.26 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.5424, allocations: 238.4 kB / 1.26 GB, free: 432 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.7908/1.333, allocations: 0.9622 MB / 1.261 GB, free: 3.836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/1.336, allocations: 0.8265 MB / 1.262 GB, free: 3.836 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001912/1.338, allocations: 0.9671 MB / 1.263 GB, free: 3.836 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000659/1.339, allocations: 325.9 kB / 1.263 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009223/1.34, allocations: 472.2 kB / 1.264 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/1.34, allocations: 315.4 kB / 1.264 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/1.34, allocations: 32.56 kB / 1.264 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/1.342, allocations: 0.9925 MB / 1.265 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/1.343, allocations: 149.9 kB / 1.265 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003472/1.343, allocations: 241.9 kB / 1.265 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/1.345, allocations: 0.9011 MB / 1.266 GB, free: 3.781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.776e-05/1.345, allocations: 2.016 kB / 1.266 GB, free: 3.781 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.326e-06/1.345, allocations: 1.516 kB / 1.266 GB, free: 3.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.345, allocations: 0.7188 kB / 1.266 GB, free: 3.781 MB / 1.014 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.001525/1.347, allocations: 0.8068 MB / 1.267 GB, free: 3.234 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.347, allocations: 11.38 kB / 1.267 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/1.348, allocations: 175.1 kB / 1.267 GB, free: 3.211 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007573/1.349, allocations: 392.8 kB / 1.267 GB, free: 2.965 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/1.349, allocations: 23.75 kB / 1.268 GB, free: 2.965 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/1.349, allocations: 32.61 kB / 1.268 GB, free: 2.965 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/1.35, allocations: 372 kB / 1.268 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/1.35, allocations: 2.688 kB / 1.268 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.35, allocations: 18.75 kB / 1.268 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/1.35, allocations: 10.52 kB / 1.268 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/1.35, allocations: 262.5 kB / 1.268 GB, free: 2.871 MB / 1.014 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.001939/1.352, allocations: 1.669 MB / 1.27 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/1.353, allocations: 210.3 kB / 1.27 GB, free: 1.711 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/1.353, allocations: 117.3 kB / 1.27 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.354, allocations: 0.8709 MB / 1.271 GB, free: 16.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.354, allocations: 38.64 kB / 1.271 GB, free: 16.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/1.354, allocations: 0.8438 kB / 1.271 GB, free: 16.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001098/1.356, allocations: 355.8 kB / 1.271 GB, free: 16.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.356, allocations: 53.88 kB / 1.271 GB, free: 16.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/1.356, allocations: 422.2 kB / 1.272 GB, free: 16.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/1.356, allocations: 35.92 kB / 1.272 GB, free: 16.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/1.356, allocations: 217.1 kB / 1.272 GB, free: 16.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/1.357, allocations: 84.39 kB / 1.272 GB, free: 16.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.357, allocations: 50.05 kB / 1.272 GB, free: 16.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.357, allocations: 352.9 kB / 1.273 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.357, allocations: 77.84 kB / 1.273 GB, free: 15.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/1.357, allocations: 121.8 kB / 1.273 GB, free: 15.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/1.358, allocations: 214.3 kB / 1.273 GB, free: 15.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.358, allocations: 1.672 kB / 1.273 GB, free: 15.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006294/1.358, allocations: 281 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.358, allocations: 5.625 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.358, allocations: 2.438 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.359, allocations: 1.969 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/1.359, allocations: 51.36 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/1.359, allocations: 6.906 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/1.359, allocations: 31.42 kB / 1.273 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/1.359, allocations: 13.05 kB / 1.273 GB, free: 15.84 MB / 1.029 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.0002098/1.359, allocations: 166.4 kB / 1.273 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/1.359, allocations: 45.41 kB / 1.273 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/1.36, allocations: 283.4 kB / 1.274 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.36, allocations: 3.562 kB / 1.274 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.36, allocations: 0.8125 kB / 1.274 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.36, allocations: 2.047 kB / 1.274 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/1.362, allocations: 0.8133 MB / 1.275 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.362, allocations: 2.688 kB / 1.275 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/1.362, allocations: 48.14 kB / 1.275 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.362, allocations: 3.562 kB / 1.275 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/1.362, allocations: 12.2 kB / 1.275 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/1.362, allocations: 4.891 kB / 1.275 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.362, allocations: 1.656 kB / 1.275 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/1.363, allocations: 0.4951 MB / 1.275 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/1.363, allocations: 150.9 kB / 1.275 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/1.363, allocations: 11.77 kB / 1.275 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/1.364, allocations: 20.8 kB / 1.275 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/1.364, allocations: 18.8 kB / 1.275 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/1.364, allocations: 12.58 kB / 1.275 GB, free: 14.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004604/1.364, allocations: 301.2 kB / 1.276 GB, free: 14.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.364, allocations: 0.5312 kB / 1.276 GB, free: 14.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006905/1.365, allocations: 115.7 kB / 1.276 GB, free: 14.87 MB / 1.029 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.0005296/1.366, allocations: 189.3 kB / 1.276 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000576/1.366, allocations: 212.4 kB / 1.276 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.366, allocations: 1.938 kB / 1.276 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/1.366, allocations: 117.4 kB / 1.276 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.368, allocations: 224.6 kB / 1.276 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/1.369, allocations: 0.907 MB / 1.277 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/1.37, allocations: 0.8224 MB / 1.278 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003327/1.37, allocations: 84.97 kB / 1.278 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/1.37, allocations: 37.84 kB / 1.278 GB, free: 13.62 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/1.37, allocations: 0 / 1.278 GB, free: 13.62 MB / 1.029 GB Notification: Performance of Templates: time 0.02799/1.398, allocations: 8.073 MB / 1.286 GB, free: 13.34 MB / 1.029 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