Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_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.007065/0.007065, allocations: 101.2 kB / 15.73 MB, free: 6.445 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.001704/0.001704, allocations: 196.4 kB / 16.68 MB, free: 6.355 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.88 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2612, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8317/1.093, allocations: 295.1 MB / 1.495 GB, free: 15.71 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02168/1.115, allocations: 17.01 MB / 1.512 GB, free: 14.66 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/1.118, allocations: 75.62 kB / 1.512 GB, free: 14.58 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004276/1.122, allocations: 1.892 MB / 1.514 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01448/1.137, allocations: 6.433 MB / 1.52 GB, free: 6.219 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006856/1.144, allocations: 2.942 MB / 1.523 GB, free: 3.277 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.009177/1.153, allocations: 7.716 MB / 1.531 GB, free: 11.54 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/1.156, allocations: 2.585 MB / 1.533 GB, free: 8.906 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005358/1.162, allocations: 2.811 MB / 1.536 GB, free: 6.086 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/1.166, allocations: 2.703 MB / 1.539 GB, free: 3.391 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0009148/1.167, allocations: 328 kB / 1.539 GB, free: 3.07 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/1.179, allocations: 6.161 MB / 1.545 GB, free: 12.89 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001776/1.18, allocations: 1.344 MB / 1.546 GB, free: 11.55 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003955/1.184, allocations: 1.883 MB / 1.548 GB, free: 9.656 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/1.197, allocations: 6.884 MB / 1.555 GB, free: 2.754 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.197, allocations: 0 / 1.555 GB, free: 2.754 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.843e-06/1.197, allocations: 0 / 1.555 GB, free: 2.754 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001554/1.197, allocations: 0 / 1.555 GB, free: 2.754 MB / 1.232 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.01103/1.208, allocations: 4.139 MB / 1.559 GB, free: 14.55 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.208, allocations: 12.62 kB / 1.559 GB, free: 14.54 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008712/1.209, allocations: 367 kB / 1.559 GB, free: 14.17 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/1.215, allocations: 0.9133 MB / 1.56 GB, free: 13.25 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/1.219, allocations: 1.912 MB / 1.562 GB, free: 11.28 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/1.22, allocations: 197.1 kB / 1.562 GB, free: 11.09 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005815/1.22, allocations: 263.9 kB / 1.562 GB, free: 10.83 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005844/1.226, allocations: 3.331 MB / 1.566 GB, free: 7.395 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-05/1.226, allocations: 7.938 kB / 1.566 GB, free: 7.387 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/1.226, allocations: 111.9 kB / 1.566 GB, free: 7.277 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/1.227, allocations: 133 kB / 1.566 GB, free: 7.145 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005774/1.232, allocations: 3.502 MB / 1.569 GB, free: 3.629 MB / 1.248 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.01548/1.248, allocations: 12.15 MB / 1.581 GB, free: 6.574 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/1.252, allocations: 3.511 MB / 1.585 GB, free: 2.984 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/1.255, allocations: 1.841 MB / 1.586 GB, free: 1.133 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/1.256, allocations: 1.489 MB / 1.588 GB, free: 15.33 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/1.257, allocations: 64.75 kB / 1.588 GB, free: 15.25 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 5.57e-06/1.257, allocations: 4 kB / 1.588 GB, free: 15.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.006832/1.263, allocations: 3.885 MB / 1.592 GB, free: 11.32 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.263, allocations: 81.59 kB / 1.592 GB, free: 11.22 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.266, allocations: 1.383 MB / 1.593 GB, free: 9.832 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/1.266, allocations: 73.7 kB / 1.593 GB, free: 9.754 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/1.266, allocations: 0.9804 MB / 1.594 GB, free: 8.762 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007837/1.267, allocations: 0.9509 MB / 1.595 GB, free: 7.797 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006166/1.268, allocations: 408.9 kB / 1.595 GB, free: 7.391 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.268, allocations: 301.1 kB / 1.596 GB, free: 7.094 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.27, allocations: 1.098 MB / 1.597 GB, free: 5.992 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/1.271, allocations: 1.355 MB / 1.598 GB, free: 4.57 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/1.275, allocations: 2.646 MB / 1.601 GB, free: 1.832 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.275, allocations: 4 kB / 1.601 GB, free: 1.828 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00484/1.28, allocations: 2.978 MB / 1.604 GB, free: 14.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/1.28, allocations: 13.55 kB / 1.604 GB, free: 14.79 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.28, allocations: 4.562 kB / 1.604 GB, free: 14.79 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.45e-05/1.28, allocations: 23.94 kB / 1.604 GB, free: 14.76 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.282, allocations: 0.511 MB / 1.604 GB, free: 14.25 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-05/1.282, allocations: 15.94 kB / 1.604 GB, free: 14.23 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.284, allocations: 182 kB / 1.604 GB, free: 14.05 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/1.285, allocations: 85.31 kB / 1.604 GB, free: 13.97 MB / 1.295 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.00133/1.286, allocations: 0.6494 MB / 1.605 GB, free: 13.31 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006756/1.287, allocations: 229.3 kB / 1.605 GB, free: 13.09 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/1.292, allocations: 3.116 MB / 1.608 GB, free: 9.914 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/1.292, allocations: 27.94 kB / 1.608 GB, free: 9.887 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.292, allocations: 4 kB / 1.608 GB, free: 9.883 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003879/1.296, allocations: 2.653 MB / 1.611 GB, free: 7.16 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.306, allocations: 6.205 MB / 1.617 GB, free: 0.8555 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.306, allocations: 0 / 1.617 GB, free: 0.8555 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.309, allocations: 0.5462 MB / 1.618 GB, free: 316 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.455e-05/1.309, allocations: 11.94 kB / 1.618 GB, free: 304 kB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.309, allocations: 59.98 kB / 1.618 GB, free: 244 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.721e-05/1.309, allocations: 8 kB / 1.618 GB, free: 236 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.309, allocations: 3.984 kB / 1.618 GB, free: 232 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006701/1.316, allocations: 4.577 MB / 1.622 GB, free: 11.56 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.317, allocations: 0.611 MB / 1.623 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/1.317, allocations: 48 kB / 1.623 GB, free: 10.88 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.319, allocations: 59.97 kB / 1.623 GB, free: 10.82 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/1.319, allocations: 162 kB / 1.623 GB, free: 10.66 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/1.32, allocations: 83.97 kB / 1.623 GB, free: 10.58 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001412/1.321, allocations: 0.9461 MB / 1.624 GB, free: 9.641 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.4e-07/1.321, allocations: 4 kB / 1.624 GB, free: 9.637 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002177/1.323, allocations: 0.9862 MB / 1.625 GB, free: 8.648 MB / 1.311 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.007263/1.33, allocations: 5.391 MB / 1.63 GB, free: 3.164 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.00413/1.335, allocations: 2.771 MB / 1.633 GB, free: 372 kB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.335, allocations: 4.062 kB / 1.633 GB, free: 368 kB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/1.337, allocations: 1.504 MB / 1.634 GB, free: 14.85 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006001/1.343, allocations: 1.354 MB / 1.636 GB, free: 13.52 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/1.373, allocations: 19.43 MB / 1.655 GB, free: 9.738 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/1.375, allocations: 1.899 MB / 1.657 GB, free: 7.805 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.002873/1.378, allocations: 0.8397 MB / 1.657 GB, free: 6.961 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/1.38, allocations: 1.089 MB / 1.658 GB, free: 5.871 MB / 1.342 GB Notification: Performance of SimCode: time 8.21e-07/1.38, allocations: 3.938 kB / 1.658 GB, free: 5.867 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/1.486, allocations: 69.41 MB / 1.726 GB, free: 1.133 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.81, allocations: 14.2 kB / 1.726 GB, free: 1.125 MB / 1.404 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches