Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.001166/0.001166, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.399/2.399, allocations: 390.3 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 66.27 kB / 0.8127 GB, free: 32.37 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.9989/1.362, allocations: 182.1 MB / 1.128 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01074/1.372, allocations: 5.52 MB / 1.133 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/1.374, allocations: 12.31 kB / 1.133 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002457/1.377, allocations: 0.5256 MB / 1.134 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007675/1.384, allocations: 1.728 MB / 1.135 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/1.387, allocations: 0.6115 MB / 1.136 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003264/1.391, allocations: 2.166 MB / 1.138 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/1.392, allocations: 0.6868 MB / 1.139 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/1.394, allocations: 0.951 MB / 1.14 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/1.395, allocations: 0.8834 MB / 1.14 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/1.395, allocations: 88.41 kB / 1.14 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/1.4, allocations: 2.058 MB / 1.142 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005705/1.401, allocations: 480.1 kB / 1.143 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007877/1.401, allocations: 0.5829 MB / 1.143 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/1.404, allocations: 1.544 MB / 1.145 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/1.404, allocations: 1.062 kB / 1.145 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.765e-06/1.404, allocations: 0 / 1.145 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.167e-05/1.404, allocations: 0 / 1.145 GB, free: 4.746 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005177/1.41, allocations: 1.676 MB / 1.147 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/1.41, allocations: 9.062 kB / 1.147 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/1.41, allocations: 164.3 kB / 1.147 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.412, allocations: 0.6245 MB / 1.147 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/1.412, allocations: 70.44 kB / 1.147 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/1.412, allocations: 88.58 kB / 1.148 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/1.415, allocations: 1.191 MB / 1.149 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/1.415, allocations: 0 / 1.149 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/1.415, allocations: 35.25 kB / 1.149 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.602e-05/1.415, allocations: 54.27 kB / 1.149 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/1.418, allocations: 1.509 MB / 1.15 GB, free: 19.32 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.006112/1.424, allocations: 3.297 MB / 1.154 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/1.426, allocations: 1.528 MB / 1.155 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/1.428, allocations: 0.7508 MB / 1.156 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/1.429, allocations: 1.532 MB / 1.157 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/1.431, allocations: 0.7478 MB / 1.158 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=127): time 3.727e-06/1.431, allocations: 4 kB / 1.158 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=127): time 0.003782/1.434, allocations: 1.945 MB / 1.16 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/1.434, allocations: 95.08 kB / 1.16 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/1.436, allocations: 0.775 MB / 1.161 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/1.436, allocations: 46.48 kB / 1.161 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/1.436, allocations: 352.4 kB / 1.161 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.436, allocations: 423.7 kB / 1.161 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/1.437, allocations: 207.4 kB / 1.162 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000229/1.437, allocations: 406.3 kB / 1.162 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008555/1.438, allocations: 0.5306 MB / 1.163 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/1.439, allocations: 0.6364 MB / 1.163 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/1.441, allocations: 1.296 MB / 1.164 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.441, allocations: 0 / 1.164 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002526/1.443, allocations: 1.504 MB / 1.166 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/1.443, allocations: 40.58 kB / 1.166 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.444, allocations: 1.812 kB / 1.166 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/1.444, allocations: 6.625 kB / 1.166 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.445, allocations: 224.2 kB / 1.166 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.445, allocations: 4.688 kB / 1.166 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.446, allocations: 119.4 kB / 1.166 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.446, allocations: 50.81 kB / 1.166 GB, free: 10.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (bouPre.nextEventScaled,bouPre.nextEvent,$PRE.bouPre.nextEvent,bouPre.last,bouPre.b,bouPre.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0007989/1.447, allocations: 368.9 kB / 1.167 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/1.447, allocations: 103.3 kB / 1.167 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/1.451, allocations: 1.65 MB / 1.168 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.451, allocations: 13 kB / 1.168 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.451, allocations: 1.125 kB / 1.168 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/1.451, allocations: 7.359 kB / 1.168 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/1.458, allocations: 3.742 MB / 1.172 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.458, allocations: 7.375 kB / 1.172 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/1.459, allocations: 215.3 kB / 1.172 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-05/1.459, allocations: 10.97 kB / 1.172 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.459, allocations: 39.41 kB / 1.172 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-05/1.459, allocations: 22.47 kB / 1.172 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.459, allocations: 16.38 kB / 1.172 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003804/1.463, allocations: 2.636 MB / 1.175 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006949/1.463, allocations: 330.8 kB / 1.175 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/1.464, allocations: 34.58 kB / 1.175 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009286/1.465, allocations: 63.92 kB / 1.175 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.465, allocations: 95 kB / 1.175 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.465, allocations: 48.08 kB / 1.176 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008275/1.466, allocations: 0.5527 MB / 1.176 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.31e-07/1.466, allocations: 0 / 1.176 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001464/1.467, allocations: 372.2 kB / 1.176 GB, free: 6.238 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.0008713/1.468, allocations: 305.9 kB / 1.177 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003155/1.471, allocations: 1.876 MB / 1.179 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.471, allocations: 6.344 kB / 1.179 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.472, allocations: 0.7757 MB / 1.179 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/1.475, allocations: 412.1 kB / 1.18 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/1.479, allocations: 2.812 MB / 1.182 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/1.48, allocations: 1.106 MB / 1.184 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/1.48, allocations: 110.9 kB / 1.184 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.48, allocations: 0 / 1.184 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.02993/1.51, allocations: 16.9 MB / 1.2 GB, free: 7.953 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches