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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 214.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.136/3.136, allocations: 0.5003 GB / 0.8061 GB, free: 26.99 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 66.91 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3818, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.207/1.589, allocations: 300.7 MB / 1.639 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02495/1.614, allocations: 17.12 MB / 1.656 GB, free: 3.887 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005132/1.619, allocations: 107.1 kB / 1.656 GB, free: 3.887 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006105/1.625, allocations: 1.993 MB / 1.658 GB, free: 3.848 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01823/1.643, allocations: 6.772 MB / 1.664 GB, free: 3.586 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009759/1.653, allocations: 3.044 MB / 1.667 GB, free: 3.496 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01271/1.665, allocations: 7.867 MB / 1.675 GB, free: 3.477 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004731/1.67, allocations: 1.965 MB / 1.677 GB, free: 19.31 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007984/1.678, allocations: 3.131 MB / 1.68 GB, free: 19.31 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007368/1.686, allocations: 2.835 MB / 1.683 GB, free: 19.28 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001667/1.687, allocations: 328.3 kB / 1.683 GB, free: 19.28 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/1.703, allocations: 6.64 MB / 1.69 GB, free: 19.22 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002727/1.706, allocations: 1.35 MB / 1.691 GB, free: 19.06 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.004882/1.711, allocations: 1.876 MB / 1.693 GB, free: 18.59 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/1.727, allocations: 6.909 MB / 1.699 GB, free: 17.82 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.727, allocations: 0.6875 kB / 1.699 GB, free: 17.82 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.162e-06/1.727, allocations: 0 / 1.699 GB, free: 17.82 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002252/1.728, allocations: 1.094 kB / 1.699 GB, free: 17.82 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.01309/1.741, allocations: 4.12 MB / 1.703 GB, free: 16.16 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.741, allocations: 10.19 kB / 1.703 GB, free: 16.16 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.123e-05/1.741, allocations: 70.39 kB / 1.704 GB, free: 16.15 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009678/1.742, allocations: 382 kB / 1.704 GB, free: 16.1 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/1.75, allocations: 1.043 MB / 1.705 GB, free: 15.92 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/1.754, allocations: 1.808 MB / 1.707 GB, free: 15.45 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/1.754, allocations: 193.7 kB / 1.707 GB, free: 15.44 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007983/1.755, allocations: 264.2 kB / 1.707 GB, free: 15.43 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005983/1.761, allocations: 3.476 MB / 1.711 GB, free: 15.14 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.571e-05/1.761, allocations: 1.969 kB / 1.711 GB, free: 15.14 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/1.761, allocations: 113 kB / 1.711 GB, free: 15.14 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/1.761, allocations: 156.3 kB / 1.711 GB, free: 15.13 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005672/1.767, allocations: 3.701 MB / 1.714 GB, free: 15.1 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.01775/1.785, allocations: 12.55 MB / 1.727 GB, free: 8.762 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/1.789, allocations: 3.022 MB / 1.73 GB, free: 8.328 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/1.792, allocations: 1.731 MB / 1.731 GB, free: 7.711 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/1.793, allocations: 219 kB / 1.732 GB, free: 7.688 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/1.793, allocations: 72.86 kB / 1.732 GB, free: 7.625 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 4.428e-06/1.793, allocations: 0 / 1.732 GB, free: 7.625 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.006605/1.799, allocations: 3.991 MB / 1.735 GB, free: 6.051 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.8, allocations: 81.66 kB / 1.736 GB, free: 5.984 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.801, allocations: 1.399 MB / 1.737 GB, free: 5.234 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/1.802, allocations: 75.58 kB / 1.737 GB, free: 5.164 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007896/1.802, allocations: 1.046 MB / 1.738 GB, free: 4.242 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.000945/1.803, allocations: 0.9982 MB / 1.739 GB, free: 3.375 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007023/1.804, allocations: 439.2 kB / 1.739 GB, free: 3.141 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.804, allocations: 305.1 kB / 1.74 GB, free: 2.84 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/1.806, allocations: 1.179 MB / 1.741 GB, free: 2.238 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/1.808, allocations: 1.453 MB / 1.742 GB, free: 1.387 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/1.812, allocations: 2.796 MB / 1.745 GB, free: 15.84 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.812, allocations: 2.562 kB / 1.745 GB, free: 15.84 MB / 1.326 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005296/1.818, allocations: 3.19 MB / 1.748 GB, free: 14.26 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.818, allocations: 5.719 kB / 1.748 GB, free: 14.26 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.818, allocations: 5.562 kB / 1.748 GB, free: 14.26 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/1.818, allocations: 13.41 kB / 1.748 GB, free: 14.26 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/1.82, allocations: 0.5555 MB / 1.749 GB, free: 14.17 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/1.82, allocations: 21.2 kB / 1.749 GB, free: 14.17 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.823, allocations: 216.4 kB / 1.749 GB, free: 14 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.823, allocations: 98.14 kB / 1.749 GB, free: 13.97 MB / 1.326 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.001365/1.824, allocations: 0.6409 MB / 1.75 GB, free: 13.56 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/1.825, allocations: 246.9 kB / 1.75 GB, free: 13.43 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005324/1.83, allocations: 3.195 MB / 1.753 GB, free: 11.63 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.83, allocations: 26.94 kB / 1.753 GB, free: 11.63 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.83, allocations: 0 / 1.753 GB, free: 11.63 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003964/1.834, allocations: 2.727 MB / 1.756 GB, free: 10.18 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/1.844, allocations: 6.315 MB / 1.762 GB, free: 6.426 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.844, allocations: 0 / 1.762 GB, free: 6.426 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.847, allocations: 0.5464 MB / 1.762 GB, free: 6.094 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.13e-05/1.847, allocations: 15.94 kB / 1.762 GB, free: 6.078 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/1.847, allocations: 63.98 kB / 1.762 GB, free: 6.016 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/1.847, allocations: 19.98 kB / 1.762 GB, free: 5.996 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.847, allocations: 0 / 1.762 GB, free: 5.996 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007698/1.855, allocations: 4.705 MB / 1.767 GB, free: 1.211 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.856, allocations: 0.5523 MB / 1.768 GB, free: 0.6562 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/1.857, allocations: 52 kB / 1.768 GB, free: 0.6055 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.859, allocations: 74.95 kB / 1.768 GB, free: 0.5352 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.859, allocations: 173.8 kB / 1.768 GB, free: 372 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.859, allocations: 83.97 kB / 1.768 GB, free: 288 kB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001498/1.861, allocations: 0.9486 MB / 1.769 GB, free: 15.34 MB / 1.342 GB Notification: Performance of sort global known variables: time 7e-08/1.861, allocations: 0 / 1.769 GB, free: 15.34 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.00254/1.863, allocations: 1.002 MB / 1.77 GB, free: 14.34 MB / 1.342 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.008337/1.872, allocations: 5.52 MB / 1.775 GB, free: 8.77 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.004857/1.877, allocations: 2.757 MB / 1.778 GB, free: 6.023 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.877, allocations: 0 / 1.778 GB, free: 6.023 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/1.879, allocations: 1.425 MB / 1.779 GB, free: 4.645 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006751/1.886, allocations: 1.349 MB / 1.781 GB, free: 3.324 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/1.919, allocations: 19.91 MB / 1.8 GB, free: 15.14 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/1.921, allocations: 1.895 MB / 1.802 GB, free: 13.21 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.003254/1.924, allocations: 0.9064 MB / 1.803 GB, free: 12.3 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/1.926, allocations: 1.089 MB / 1.804 GB, free: 11.21 MB / 1.373 GB Notification: Performance of SimCode: time 1.142e-06/1.926, allocations: 0 / 1.804 GB, free: 11.21 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/2.059, allocations: 71.5 MB / 1.874 GB, free: 4.441 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.35/18.41, allocations: 21.61 kB / 1.874 GB, free: 4.426 MB / 1.436 GB " [Timeout remaining time 281] (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/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: 25.49181055201916]