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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00836/0.00836, allocations: 102 kB / 15.73 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.002167/0.002167, allocations: 195.8 kB / 16.67 MB, free: 6.352 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.7 MB / 0.7453 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 55.91 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3644, allocations: 159.9 MB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 1.103/1.468, allocations: 166.9 MB / 1.388 GB, free: 13.15 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01523/1.483, allocations: 8.495 MB / 1.396 GB, free: 6.207 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/1.486, allocations: 40.44 kB / 1.397 GB, free: 6.191 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/1.488, allocations: 0.5735 MB / 1.397 GB, free: 5.695 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/1.494, allocations: 1.565 MB / 1.399 GB, free: 4.449 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/1.497, allocations: 0.9989 MB / 1.4 GB, free: 3.668 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006309/1.503, allocations: 4.094 MB / 1.404 GB, free: 1.281 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/1.506, allocations: 1.321 MB / 1.405 GB, free: 444 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004909/1.511, allocations: 1.525 MB / 1.406 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/1.515, allocations: 1.505 MB / 1.408 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009034/1.516, allocations: 187.1 kB / 1.408 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/1.52, allocations: 1.109 MB / 1.409 GB, free: 14.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/1.521, allocations: 0.6697 MB / 1.41 GB, free: 13.75 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003028/1.524, allocations: 1.036 MB / 1.411 GB, free: 13.07 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005876/1.53, allocations: 2.76 MB / 1.413 GB, free: 11.25 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.53, allocations: 0 / 1.413 GB, free: 11.25 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.034e-06/1.53, allocations: 3.938 kB / 1.413 GB, free: 11.25 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001346/1.53, allocations: 0 / 1.413 GB, free: 11.25 MB / 1.107 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.005971/1.536, allocations: 2.323 MB / 1.416 GB, free: 9.648 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.536, allocations: 7.438 kB / 1.416 GB, free: 9.648 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002696/1.536, allocations: 228 kB / 1.416 GB, free: 9.473 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/1.537, allocations: 201.8 kB / 1.416 GB, free: 9.371 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/1.539, allocations: 1.19 MB / 1.417 GB, free: 8.473 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/1.539, allocations: 113.9 kB / 1.417 GB, free: 8.422 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/1.539, allocations: 149.8 kB / 1.418 GB, free: 8.371 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/1.542, allocations: 1.922 MB / 1.419 GB, free: 7.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/1.542, allocations: 6.344 kB / 1.419 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/1.542, allocations: 60.19 kB / 1.42 GB, free: 7.199 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.542, allocations: 38.31 kB / 1.42 GB, free: 7.199 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/1.546, allocations: 2.475 MB / 1.422 GB, free: 4.887 MB / 1.107 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.008904/1.555, allocations: 6.129 MB / 1.428 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/1.559, allocations: 2.807 MB / 1.431 GB, free: 11.57 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.561, allocations: 1.417 MB / 1.432 GB, free: 10.15 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/1.563, allocations: 1.734 MB / 1.434 GB, free: 8.047 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/1.563, allocations: 60.5 kB / 1.434 GB, free: 7.977 MB / 1.123 GB Notification: Performance of pre-optimization done (n=237): time 4.549e-06/1.563, allocations: 0 / 1.434 GB, free: 7.977 MB / 1.123 GB Notification: Performance of matching and sorting (n=237): time 0.005635/1.568, allocations: 3.446 MB / 1.437 GB, free: 4.484 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.569, allocations: 73.41 kB / 1.437 GB, free: 4.402 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.57, allocations: 0.7744 MB / 1.438 GB, free: 3.617 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/1.57, allocations: 69.7 kB / 1.438 GB, free: 3.543 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/1.57, allocations: 0.4914 MB / 1.439 GB, free: 3.043 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006727/1.571, allocations: 0.8287 MB / 1.439 GB, free: 2.207 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004877/1.571, allocations: 347.7 kB / 1.44 GB, free: 1.859 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/1.571, allocations: 301.1 kB / 1.44 GB, free: 1.562 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/1.573, allocations: 0.898 MB / 1.441 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/1.574, allocations: 1.129 MB / 1.442 GB, free: 15.47 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/1.578, allocations: 2.223 MB / 1.444 GB, free: 13.2 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.578, allocations: 4 kB / 1.444 GB, free: 13.2 MB / 1.139 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003978/1.582, allocations: 2.445 MB / 1.447 GB, free: 10.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.582, allocations: 15.97 kB / 1.447 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.582, allocations: 0 / 1.447 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/1.582, allocations: 16.56 kB / 1.447 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.583, allocations: 427.4 kB / 1.447 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/1.583, allocations: 19.92 kB / 1.447 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/1.585, allocations: 162.7 kB / 1.447 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.585, allocations: 79.11 kB / 1.447 GB, free: 10.04 MB / 1.139 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.0007526/1.586, allocations: 445.8 kB / 1.448 GB, free: 9.598 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/1.586, allocations: 151 kB / 1.448 GB, free: 9.449 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/1.591, allocations: 2.728 MB / 1.45 GB, free: 6.703 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.591, allocations: 24 kB / 1.45 GB, free: 6.68 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.591, allocations: 0 / 1.45 GB, free: 6.68 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003667/1.594, allocations: 2.381 MB / 1.453 GB, free: 4.242 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006699/1.601, allocations: 4.307 MB / 1.457 GB, free: 15.87 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.601, allocations: 0 / 1.457 GB, free: 15.87 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/1.603, allocations: 407.6 kB / 1.457 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/1.603, allocations: 101.6 kB / 1.457 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/1.604, allocations: 55.97 kB / 1.458 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007593/1.604, allocations: 1.116 MB / 1.459 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.604, allocations: 3.938 kB / 1.459 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006008/1.61, allocations: 4.066 MB / 1.463 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.612, allocations: 487.4 kB / 1.463 GB, free: 9.547 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.612, allocations: 40 kB / 1.463 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008573/1.613, allocations: 55.98 kB / 1.463 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/1.613, allocations: 141.8 kB / 1.463 GB, free: 9.316 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.613, allocations: 67.98 kB / 1.463 GB, free: 9.25 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007102/1.614, allocations: 0.5459 MB / 1.464 GB, free: 8.699 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/1.614, allocations: 0 / 1.464 GB, free: 8.699 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001547/1.615, allocations: 0.6552 MB / 1.465 GB, free: 8.043 MB / 1.154 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.006721/1.622, allocations: 4.9 MB / 1.469 GB, free: 3.113 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003564/1.626, allocations: 2.321 MB / 1.472 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.626, allocations: 0 / 1.472 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/1.628, allocations: 1.288 MB / 1.473 GB, free: 15.51 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/1.63, allocations: 0.5782 MB / 1.473 GB, free: 14.95 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/1.65, allocations: 13.68 MB / 1.487 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009211/1.651, allocations: 1.343 MB / 1.488 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001946/1.653, allocations: 0.7151 MB / 1.489 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009301/1.654, allocations: 0.6242 MB / 1.489 GB, free: 14.27 MB / 1.186 GB Notification: Performance of SimCode: time 7.31e-07/1.654, allocations: 0 / 1.489 GB, free: 14.27 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.756, allocations: 39.8 MB / 1.528 GB, free: 6.902 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/16.6, allocations: 8.516 kB / 1.528 GB, free: 6.895 MB / 1.217 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