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.001429/0.001429, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.518/2.518, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 67.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 140.3 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2434/1.304, allocations: 173.8 MB / 1.119 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005103/1.309, allocations: 2.296 MB / 1.122 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007347/1.31, allocations: 11.94 kB / 1.122 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/1.311, allocations: 238.3 kB / 1.122 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/1.314, allocations: 0.9294 MB / 1.123 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/1.317, allocations: 0.8132 MB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001617/1.318, allocations: 0.9711 MB / 1.124 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005878/1.319, allocations: 326.9 kB / 1.125 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008449/1.32, allocations: 454.3 kB / 1.125 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/1.32, allocations: 314.7 kB / 1.125 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/1.32, allocations: 32 kB / 1.126 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/1.323, allocations: 0.9937 MB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/1.323, allocations: 155.5 kB / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002603/1.323, allocations: 230.8 kB / 1.127 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/1.325, allocations: 0.8921 MB / 1.128 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.325, allocations: 0 / 1.128 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.434e-06/1.325, allocations: 0 / 1.128 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.325, allocations: 0 / 1.128 GB, free: 10.81 MB / 0.8887 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.001512/1.326, allocations: 0.8138 MB / 1.129 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.327, allocations: 8.031 kB / 1.129 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/1.328, allocations: 179.2 kB / 1.129 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/1.328, allocations: 377.4 kB / 1.129 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/1.329, allocations: 24.66 kB / 1.129 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/1.329, allocations: 32 kB / 1.129 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/1.329, allocations: 365.1 kB / 1.129 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.329, allocations: 4 kB / 1.129 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/1.329, allocations: 16 kB / 1.129 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/1.329, allocations: 15.94 kB / 1.129 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/1.33, allocations: 258 kB / 1.13 GB, free: 8.629 MB / 0.8887 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.002186/1.332, allocations: 1.679 MB / 1.131 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/1.333, allocations: 210.3 kB / 1.132 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/1.333, allocations: 116.8 kB / 1.132 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.334, allocations: 0.8662 MB / 1.133 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/1.334, allocations: 42.56 kB / 1.133 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 2.895e-06/1.334, allocations: 0 / 1.133 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.000983/1.335, allocations: 362.5 kB / 1.133 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/1.335, allocations: 55.41 kB / 1.133 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/1.336, allocations: 417.9 kB / 1.133 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/1.336, allocations: 33.7 kB / 1.133 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/1.336, allocations: 212.2 kB / 1.134 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/1.336, allocations: 82.84 kB / 1.134 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/1.336, allocations: 53.61 kB / 1.134 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.336, allocations: 358.7 kB / 1.134 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.337, allocations: 75.95 kB / 1.134 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/1.337, allocations: 124.1 kB / 1.134 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/1.337, allocations: 213.2 kB / 1.134 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.337, allocations: 0 / 1.134 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005889/1.338, allocations: 281.7 kB / 1.135 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.338, allocations: 4 kB / 1.135 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.338, allocations: 4 kB / 1.135 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.338, allocations: 0 / 1.135 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/1.338, allocations: 55.94 kB / 1.135 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/1.338, allocations: 4 kB / 1.135 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/1.338, allocations: 35.61 kB / 1.135 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/1.339, allocations: 12 kB / 1.135 GB, free: 2.965 MB / 0.8887 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.0001964/1.339, allocations: 165.7 kB / 1.135 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/1.339, allocations: 43.44 kB / 1.135 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/1.339, allocations: 290.9 kB / 1.135 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.339, allocations: 3.938 kB / 1.135 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.34, allocations: 0 / 1.135 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.34, allocations: 7.922 kB / 1.135 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/1.341, allocations: 0.813 MB / 1.136 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.341, allocations: 4 kB / 1.136 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/1.341, allocations: 35.98 kB / 1.136 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.341, allocations: 4 kB / 1.136 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/1.341, allocations: 8 kB / 1.136 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/1.341, allocations: 15.92 kB / 1.136 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.341, allocations: 192 / 1.136 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/1.342, allocations: 0.5114 MB / 1.137 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/1.342, allocations: 144.6 kB / 1.137 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/1.342, allocations: 8 kB / 1.137 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/1.343, allocations: 11.98 kB / 1.137 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/1.343, allocations: 23.88 kB / 1.137 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/1.343, allocations: 12 kB / 1.137 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003743/1.343, allocations: 307.1 kB / 1.137 GB, free: 444 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.343, allocations: 0 / 1.137 GB, free: 444 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005192/1.344, allocations: 107.9 kB / 1.137 GB, free: 336 kB / 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 (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.0005498/1.344, allocations: 202.2 kB / 1.137 GB, free: 136 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005903/1.345, allocations: 216.5 kB / 1.138 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.345, allocations: 0 / 1.138 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/1.345, allocations: 115.8 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.346, allocations: 219 kB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/1.348, allocations: 0.9006 MB / 1.139 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/1.349, allocations: 0.8311 MB / 1.14 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003383/1.349, allocations: 87.33 kB / 1.14 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/1.349, allocations: 31.44 kB / 1.14 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/1.349, allocations: 4 kB / 1.14 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of Templates: time 0.01725/1.366, allocations: 8.04 MB / 1.148 GB, free: 5.77 MB / 0.9044 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