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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 107.2 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 196.6 kB / 19.41 MB, free: 3.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.64 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3451, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3142/0.6593, allocations: 296.4 MB / 1.593 GB, free: 8.004 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.8209/1.48, allocations: 17.05 MB / 1.61 GB, free: 3.941 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005243/1.485, allocations: 80.47 kB / 1.61 GB, free: 3.941 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005113/1.491, allocations: 1.987 MB / 1.612 GB, free: 3.941 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01704/1.508, allocations: 6.635 MB / 1.619 GB, free: 3.762 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009119/1.517, allocations: 2.975 MB / 1.622 GB, free: 3.695 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01259/1.529, allocations: 7.703 MB / 1.629 GB, free: 3.688 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/1.533, allocations: 2.159 MB / 1.631 GB, free: 19.51 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007759/1.541, allocations: 3.097 MB / 1.634 GB, free: 19.51 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00643/1.547, allocations: 2.837 MB / 1.637 GB, free: 19.51 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001182/1.549, allocations: 327.1 kB / 1.637 GB, free: 19.51 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/1.562, allocations: 6.529 MB / 1.644 GB, free: 19.45 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002441/1.565, allocations: 1.348 MB / 1.645 GB, free: 19.45 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.004315/1.569, allocations: 1.875 MB / 1.647 GB, free: 19.41 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01572/1.585, allocations: 6.902 MB / 1.654 GB, free: 18.63 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.585, allocations: 0.5 kB / 1.654 GB, free: 18.63 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.793e-06/1.585, allocations: 0 / 1.654 GB, free: 18.63 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001554/1.585, allocations: 0.9375 kB / 1.654 GB, free: 18.63 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01154/1.596, allocations: 4.198 MB / 1.658 GB, free: 16.89 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.596, allocations: 11.78 kB / 1.658 GB, free: 16.89 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005281/1.597, allocations: 378.6 kB / 1.658 GB, free: 16.84 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/1.603, allocations: 0.9295 MB / 1.659 GB, free: 16.66 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/1.607, allocations: 1.902 MB / 1.661 GB, free: 16.12 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.608, allocations: 193.7 kB / 1.661 GB, free: 16.12 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/1.608, allocations: 258.9 kB / 1.661 GB, free: 16.12 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005595/1.614, allocations: 3.421 MB / 1.665 GB, free: 15.83 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.51e-05/1.614, allocations: 5.594 kB / 1.665 GB, free: 15.82 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/1.614, allocations: 110.3 kB / 1.665 GB, free: 15.82 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/1.614, allocations: 160.2 kB / 1.665 GB, free: 15.82 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00552/1.62, allocations: 3.63 MB / 1.668 GB, free: 15.79 MB / 1.311 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.01724/1.637, allocations: 12.56 MB / 1.681 GB, free: 9.516 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/1.641, allocations: 3.326 MB / 1.684 GB, free: 8.945 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/1.643, allocations: 1.702 MB / 1.686 GB, free: 8.91 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/1.645, allocations: 1.492 MB / 1.687 GB, free: 7.309 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.645, allocations: 64.47 kB / 1.687 GB, free: 7.266 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 3.907e-06/1.645, allocations: 0.875 kB / 1.687 GB, free: 7.266 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.005954/1.651, allocations: 3.898 MB / 1.691 GB, free: 7.004 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/1.651, allocations: 81.38 kB / 1.691 GB, free: 6.938 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/1.653, allocations: 1.395 MB / 1.692 GB, free: 6.766 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/1.653, allocations: 79.42 kB / 1.692 GB, free: 6.73 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/1.653, allocations: 1.044 MB / 1.693 GB, free: 6.281 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008888/1.654, allocations: 0.9962 MB / 1.694 GB, free: 5.617 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/1.655, allocations: 437.3 kB / 1.695 GB, free: 5.59 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.655, allocations: 307.2 kB / 1.695 GB, free: 5.293 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.657, allocations: 1.138 MB / 1.696 GB, free: 5.285 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/1.658, allocations: 1.422 MB / 1.698 GB, free: 5.102 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/1.662, allocations: 2.727 MB / 1.7 GB, free: 4.875 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.662, allocations: 2.594 kB / 1.7 GB, free: 4.875 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004528/1.666, allocations: 3.124 MB / 1.703 GB, free: 4.625 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.666, allocations: 5.25 kB / 1.703 GB, free: 4.625 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.666, allocations: 8.25 kB / 1.703 GB, free: 4.625 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.666, allocations: 16.34 kB / 1.703 GB, free: 4.625 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/1.668, allocations: 0.5388 MB / 1.704 GB, free: 4.625 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.751e-05/1.669, allocations: 21.66 kB / 1.704 GB, free: 4.625 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.671, allocations: 206.8 kB / 1.704 GB, free: 4.512 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.671, allocations: 89.75 kB / 1.704 GB, free: 4.512 MB / 1.311 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 (332): * Single equations (assignments): 332 * 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.001122/1.672, allocations: 0.6521 MB / 1.705 GB, free: 4.391 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/1.672, allocations: 246.7 kB / 1.705 GB, free: 4.262 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/1.677, allocations: 3.113 MB / 1.708 GB, free: 4.078 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/1.677, allocations: 25.31 kB / 1.708 GB, free: 4.078 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.677, allocations: 9.688 kB / 1.708 GB, free: 4.078 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003304/1.68, allocations: 2.649 MB / 1.711 GB, free: 3.832 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009638/1.69, allocations: 6.218 MB / 1.717 GB, free: 1.734 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.69, allocations: 0 / 1.717 GB, free: 1.734 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/1.692, allocations: 0.5423 MB / 1.717 GB, free: 1.715 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/1.692, allocations: 9.312 kB / 1.717 GB, free: 1.715 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/1.692, allocations: 60.19 kB / 1.717 GB, free: 1.68 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/1.692, allocations: 11 kB / 1.717 GB, free: 1.68 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.692, allocations: 0.5625 kB / 1.717 GB, free: 1.68 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007151/1.7, allocations: 4.651 MB / 1.722 GB, free: 15.98 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.701, allocations: 0.6204 MB / 1.722 GB, free: 15.59 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004935/1.702, allocations: 50.44 kB / 1.723 GB, free: 15.55 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/1.704, allocations: 71.19 kB / 1.723 GB, free: 15.51 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.704, allocations: 163.5 kB / 1.723 GB, free: 15.46 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.704, allocations: 79.22 kB / 1.723 GB, free: 15.43 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001311/1.705, allocations: 0.9507 MB / 1.724 GB, free: 14.92 MB / 1.326 GB Notification: Performance of sort global known variables: time 7e-08/1.705, allocations: 0 / 1.724 GB, free: 14.92 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002238/1.708, allocations: 1.011 MB / 1.725 GB, free: 14.71 MB / 1.326 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.007057/1.715, allocations: 5.4 MB / 1.73 GB, free: 11.66 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004354/1.719, allocations: 2.686 MB / 1.733 GB, free: 9.598 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.719, allocations: 3.938 kB / 1.733 GB, free: 9.594 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/1.721, allocations: 1.4 MB / 1.734 GB, free: 8.242 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006278/1.728, allocations: 1.349 MB / 1.735 GB, free: 6.922 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/1.761, allocations: 19.7 MB / 1.755 GB, free: 2.953 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/1.763, allocations: 1.899 MB / 1.756 GB, free: 1.016 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003174/1.766, allocations: 0.8712 MB / 1.757 GB, free: 144 kB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.768, allocations: 1.088 MB / 1.758 GB, free: 15.05 MB / 1.357 GB Notification: Performance of SimCode: time 1.082e-06/1.768, allocations: 0 / 1.758 GB, free: 15.05 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/1.894, allocations: 68.8 MB / 1.826 GB, free: 11.11 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/14.51, allocations: 10.31 kB / 1.826 GB, free: 11.1 MB / 1.42 GB " [Timeout remaining time 285] (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 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.945619175676256]