Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.008044/0.008044, allocations: 98.31 kB / 15.73 MB, free: 5.555 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.00208/0.00208, allocations: 196.2 kB / 16.68 MB, free: 5.484 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.301/1.301, 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 10.1.1-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2519, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7947/1.047, allocations: 295.1 MB / 1.454 GB, free: 13.44 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02232/1.069, allocations: 17.01 MB / 1.471 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/1.072, allocations: 79.62 kB / 1.471 GB, free: 12.32 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004419/1.077, allocations: 1.974 MB / 1.473 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01485/1.091, allocations: 6.628 MB / 1.479 GB, free: 3.676 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.007115/1.099, allocations: 2.978 MB / 1.482 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.009676/1.108, allocations: 7.715 MB / 1.49 GB, free: 8.961 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/1.112, allocations: 2.59 MB / 1.492 GB, free: 6.316 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/1.116, allocations: 2.854 MB / 1.495 GB, free: 3.453 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/1.12, allocations: 2.695 MB / 1.498 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005091/1.121, allocations: 328 kB / 1.498 GB, free: 452 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/1.131, allocations: 6.188 MB / 1.504 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/1.133, allocations: 1.344 MB / 1.506 GB, free: 8.891 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002338/1.135, allocations: 1.883 MB / 1.507 GB, free: 7 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/1.146, allocations: 6.908 MB / 1.514 GB, free: 72 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.146, allocations: 0 / 1.514 GB, free: 72 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.663e-06/1.146, allocations: 0 / 1.514 GB, free: 72 kB / 1.17 GB Notification: Performance of Transformations before backend: time 6.014e-05/1.146, allocations: 4 kB / 1.514 GB, free: 68 kB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.009397/1.156, allocations: 4.242 MB / 1.518 GB, free: 11.75 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.156, allocations: 8.031 kB / 1.518 GB, free: 11.74 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004218/1.156, allocations: 371 kB / 1.519 GB, free: 11.37 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006345/1.163, allocations: 0.9268 MB / 1.52 GB, free: 10.44 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/1.167, allocations: 1.93 MB / 1.521 GB, free: 8.457 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/1.167, allocations: 201 kB / 1.522 GB, free: 8.258 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/1.167, allocations: 263.9 kB / 1.522 GB, free: 8 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/1.172, allocations: 3.329 MB / 1.525 GB, free: 4.57 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/1.172, allocations: 19.81 kB / 1.525 GB, free: 4.551 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/1.173, allocations: 115.9 kB / 1.525 GB, free: 4.438 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/1.173, allocations: 137 kB / 1.525 GB, free: 4.301 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005454/1.178, allocations: 3.498 MB / 1.529 GB, free: 0.7891 MB / 1.186 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.01455/1.193, allocations: 12.16 MB / 1.541 GB, free: 3.73 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/1.197, allocations: 3.514 MB / 1.544 GB, free: 156 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/1.2, allocations: 1.857 MB / 1.546 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/1.201, allocations: 1.481 MB / 1.547 GB, free: 12.49 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/1.201, allocations: 72.67 kB / 1.547 GB, free: 12.41 MB / 1.217 GB Notification: Performance of pre-optimization done (n=278): time 4.489e-06/1.201, allocations: 0 / 1.547 GB, free: 12.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=278): time 0.006326/1.208, allocations: 3.894 MB / 1.551 GB, free: 8.461 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/1.208, allocations: 81.59 kB / 1.551 GB, free: 8.367 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.21, allocations: 1.383 MB / 1.553 GB, free: 6.977 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/1.21, allocations: 73.7 kB / 1.553 GB, free: 6.898 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/1.211, allocations: 0.9981 MB / 1.554 GB, free: 5.891 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007762/1.211, allocations: 0.9952 MB / 1.555 GB, free: 4.887 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005884/1.212, allocations: 408.9 kB / 1.555 GB, free: 4.48 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/1.212, allocations: 309.1 kB / 1.555 GB, free: 4.176 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/1.214, allocations: 1.09 MB / 1.556 GB, free: 3.082 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/1.215, allocations: 1.362 MB / 1.558 GB, free: 1.652 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/1.219, allocations: 2.646 MB / 1.56 GB, free: 14.91 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.219, allocations: 0 / 1.56 GB, free: 14.91 MB / 1.232 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004662/1.224, allocations: 2.987 MB / 1.563 GB, free: 11.88 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.224, allocations: 4 kB / 1.563 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.224, allocations: 7.938 kB / 1.563 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.224, allocations: 19.94 kB / 1.563 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/1.226, allocations: 0.5116 MB / 1.564 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/1.226, allocations: 23.88 kB / 1.564 GB, free: 11.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.228, allocations: 194.5 kB / 1.564 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.228, allocations: 83.98 kB / 1.564 GB, free: 11.04 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001039/1.229, allocations: 0.6455 MB / 1.565 GB, free: 10.39 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/1.23, allocations: 242.5 kB / 1.565 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/1.235, allocations: 3.114 MB / 1.568 GB, free: 6.98 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.235, allocations: 31.94 kB / 1.568 GB, free: 6.949 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.235, allocations: 4 kB / 1.568 GB, free: 6.945 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003692/1.238, allocations: 2.653 MB / 1.571 GB, free: 4.223 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009407/1.248, allocations: 6.214 MB / 1.577 GB, free: 13.9 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.248, allocations: 0 / 1.577 GB, free: 13.9 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/1.25, allocations: 0.5423 MB / 1.577 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.421e-05/1.25, allocations: 12 kB / 1.577 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/1.251, allocations: 59.98 kB / 1.577 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/1.251, allocations: 11.94 kB / 1.577 GB, free: 13.28 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.251, allocations: 0 / 1.577 GB, free: 13.28 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006797/1.257, allocations: 4.578 MB / 1.582 GB, free: 8.613 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.259, allocations: 0.6238 MB / 1.582 GB, free: 7.969 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/1.259, allocations: 48 kB / 1.582 GB, free: 7.922 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.261, allocations: 61.59 kB / 1.582 GB, free: 7.863 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.261, allocations: 166 kB / 1.583 GB, free: 7.699 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.262, allocations: 79.97 kB / 1.583 GB, free: 7.621 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001503/1.263, allocations: 0.9462 MB / 1.584 GB, free: 6.68 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.31e-07/1.263, allocations: 0 / 1.584 GB, free: 6.68 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00222/1.265, allocations: 0.9905 MB / 1.585 GB, free: 5.688 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.00755/1.273, allocations: 5.411 MB / 1.59 GB, free: 192 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004426/1.277, allocations: 2.77 MB / 1.593 GB, free: 13.38 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.277, allocations: 1.125 kB / 1.593 GB, free: 13.38 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/1.28, allocations: 1.511 MB / 1.594 GB, free: 11.87 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/1.286, allocations: 1.352 MB / 1.595 GB, free: 10.54 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/1.318, allocations: 19.53 MB / 1.614 GB, free: 6.664 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.32, allocations: 1.906 MB / 1.616 GB, free: 4.719 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002895/1.323, allocations: 0.8319 MB / 1.617 GB, free: 3.883 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/1.325, allocations: 1.093 MB / 1.618 GB, free: 2.789 MB / 1.279 GB Notification: Performance of SimCode: time 5.81e-07/1.325, allocations: 0 / 1.618 GB, free: 2.789 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/1.432, allocations: 68.25 MB / 1.685 GB, free: 15.32 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/13.05, allocations: 3.938 kB / 1.685 GB, free: 15.31 MB / 1.357 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches