Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001196, 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.001141/0.001141, allocations: 196.8 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.159/1.159, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.384/2.384, allocations: 469.4 MB / 0.742 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 62.58 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.226, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1418/0.3678, allocations: 166.9 MB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009642/0.3775, allocations: 8.492 MB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.3781, allocations: 35.81 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.3793, allocations: 0.5667 MB / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.382, allocations: 1.549 MB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.3838, allocations: 0.9882 MB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002902/0.3867, allocations: 4.097 MB / 1.242 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.3879, allocations: 1.315 MB / 1.243 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.3898, allocations: 1.494 MB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.3912, allocations: 1.515 MB / 1.246 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.3914, allocations: 188 kB / 1.246 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.3931, allocations: 1.1 MB / 1.248 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.3936, allocations: 0.674 MB / 1.248 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4241/0.8177, allocations: 1.029 MB / 1.249 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.8212, allocations: 2.73 MB / 1.252 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8212, allocations: 0.8125 kB / 1.252 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8212, allocations: 0 / 1.252 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.8212, allocations: 0.9062 kB / 1.252 GB, free: 10.83 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003602/0.8249, allocations: 2.256 MB / 1.254 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.8249, allocations: 8.969 kB / 1.254 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/0.8251, allocations: 234 kB / 1.254 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.8255, allocations: 194.6 kB / 1.254 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.827, allocations: 1.138 MB / 1.256 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.8271, allocations: 119.8 kB / 1.256 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.8273, allocations: 152.6 kB / 1.256 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.8298, allocations: 1.919 MB / 1.258 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.8298, allocations: 8.125 kB / 1.258 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.83, allocations: 60.22 kB / 1.258 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.83, allocations: 35.34 kB / 1.258 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/0.8332, allocations: 2.477 MB / 1.26 GB, free: 9.203 MB / 0.9981 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.006117/0.8393, allocations: 6.139 MB / 1.266 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.8425, allocations: 2.802 MB / 1.269 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.8443, allocations: 1.421 MB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.8459, allocations: 1.737 MB / 1.272 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.8459, allocations: 58.72 kB / 1.272 GB, free: 20.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=237): time 3.497e-06/0.846, allocations: 0.8125 kB / 1.272 GB, free: 20.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=237): time 0.005158/0.8511, allocations: 3.433 MB / 1.275 GB, free: 20.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.8512, allocations: 76.94 kB / 1.276 GB, free: 20.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.852, allocations: 0.7811 MB / 1.276 GB, free: 20.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.8521, allocations: 61.42 kB / 1.276 GB, free: 20.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.8524, allocations: 497.2 kB / 1.277 GB, free: 19.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.8528, allocations: 0.7858 MB / 1.278 GB, free: 19.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/0.8533, allocations: 350.3 kB / 1.278 GB, free: 19.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.8533, allocations: 301.7 kB / 1.278 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.8546, allocations: 0.8992 MB / 1.279 GB, free: 19.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.8561, allocations: 1.126 MB / 1.28 GB, free: 18.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.8589, allocations: 2.227 MB / 1.282 GB, free: 18.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8589, allocations: 1.781 kB / 1.282 GB, free: 18.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003391/0.8623, allocations: 2.436 MB / 1.285 GB, free: 18.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.8623, allocations: 6.844 kB / 1.285 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8624, allocations: 3.031 kB / 1.285 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.8624, allocations: 18.17 kB / 1.285 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.8639, allocations: 438.1 kB / 1.285 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.8639, allocations: 15 kB / 1.285 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.8649, allocations: 162 kB / 1.285 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.865, allocations: 74.06 kB / 1.285 GB, free: 18.55 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0005681/0.8656, allocations: 444.7 kB / 1.286 GB, free: 18.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.8659, allocations: 140.6 kB / 1.286 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.8697, allocations: 2.724 MB / 1.289 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.8697, allocations: 23.59 kB / 1.289 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.8698, allocations: 1.203 kB / 1.289 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00291/0.8727, allocations: 2.381 MB / 1.291 GB, free: 17.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.8777, allocations: 4.297 MB / 1.295 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.8778, allocations: 9.188 kB / 1.295 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.8791, allocations: 412.2 kB / 1.296 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.8796, allocations: 98.7 kB / 1.296 GB, free: 17.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.8797, allocations: 51.8 kB / 1.296 GB, free: 17.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005461/0.8803, allocations: 1.119 MB / 1.297 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8803, allocations: 2.562 kB / 1.297 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004707/0.885, allocations: 4.059 MB / 1.301 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.8856, allocations: 481.7 kB / 1.301 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.8858, allocations: 39.19 kB / 1.301 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/0.8866, allocations: 50.72 kB / 1.301 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.8869, allocations: 140.9 kB / 1.301 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.887, allocations: 70.86 kB / 1.302 GB, free: 15.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005252/0.8875, allocations: 0.5505 MB / 1.302 GB, free: 15.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8875, allocations: 0 / 1.302 GB, free: 15.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00129/0.8888, allocations: 0.6472 MB / 1.303 GB, free: 15.72 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005597/0.8944, allocations: 4.898 MB / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007096/0.9015, allocations: 4.856 MB / 1.312 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9016, allocations: 3 kB / 1.312 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.903, allocations: 1.278 MB / 1.313 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.9052, allocations: 0.5939 MB / 1.314 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.9195, allocations: 14.26 MB / 1.328 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.9202, allocations: 1.338 MB / 1.329 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001653/0.9219, allocations: 0.7229 MB / 1.33 GB, free: 9.793 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/0.9226, allocations: 0.6194 MB / 1.331 GB, free: 9.352 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.9226, allocations: 2.281 kB / 1.331 GB, free: 9.352 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09912/1.022, allocations: 39.42 MB / 1.369 GB, free: 14.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.57, allocations: 2.578 kB / 1.369 GB, free: 14.93 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches