Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.001914/0.001914, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001952/0.001952, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.529/1.529, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.912/2.912, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0.6562 kB / 0.7865 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.549e-05, allocations: 7.516 kB / 0.7865 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2414/0.2415, allocations: 175.5 MB / 0.9579 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.2611, allocations: 11.01 MB / 0.9686 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.2637, allocations: 127 kB / 0.9688 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.006134/0.2698, allocations: 1.903 MB / 0.9706 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.2749, allocations: 1.735 MB / 0.9723 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.2775, allocations: 0.8219 MB / 0.9731 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005255/0.2827, allocations: 3.261 MB / 0.9763 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.2847, allocations: 1.005 MB / 0.9773 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.288, allocations: 1.597 MB / 0.9788 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.2905, allocations: 0.9848 MB / 0.9798 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0004048/0.2909, allocations: 132 kB / 0.9799 GB, free: 5.945 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.293, allocations: 0.8024 MB / 0.9807 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006373/0.2936, allocations: 0.5057 MB / 0.9812 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.2947, allocations: 0.6428 MB / 0.9818 GB, free: 3.988 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.2995, allocations: 3.403 MB / 0.9852 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2995, allocations: 0 / 0.9852 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2995, allocations: 0 / 0.9852 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.551e-05/0.2996, allocations: 3.938 kB / 0.9852 GB, free: 0.5703 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005565/0.3051, allocations: 3.193 MB / 0.9883 GB, free: 13.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3052, allocations: 15.97 kB / 0.9883 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.3069, allocations: 469.8 kB / 0.9887 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.3107, allocations: 1.958 MB / 0.9907 GB, free: 10.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.3108, allocations: 58 kB / 0.9907 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.3109, allocations: 80 kB / 0.9908 GB, free: 10.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.3127, allocations: 1.012 MB / 0.9918 GB, free: 9.605 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.3128, allocations: 4 kB / 0.9918 GB, free: 9.602 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.3128, allocations: 32 kB / 0.9918 GB, free: 9.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/0.3129, allocations: 32.94 kB / 0.9918 GB, free: 9.535 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.314, allocations: 0.5541 MB / 0.9924 GB, free: 8.984 MB / 0.948 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.007837/0.3219, allocations: 4.833 MB / 0.9971 GB, free: 4.059 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.3224, allocations: 263.2 kB / 0.9974 GB, free: 3.789 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.3226, allocations: 132.1 kB / 0.9975 GB, free: 3.656 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.3228, allocations: 27.92 kB / 0.9975 GB, free: 3.629 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3228, allocations: 41.39 kB / 0.9975 GB, free: 3.578 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.3228, allocations: 4 kB / 0.9976 GB, free: 3.574 MB / 0.948 GB Notification: Performance of matching and sorting (n=32): time 0.003502/0.3263, allocations: 1.431 MB / 0.9989 GB, free: 2.094 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3264, allocations: 55.41 kB / 0.999 GB, free: 2.027 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005161/0.3316, allocations: 3.373 MB / 1.002 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.3316, allocations: 37.7 kB / 1.002 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.3334, allocations: 1.365 MB / 1.004 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.3336, allocations: 131 kB / 1.004 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.3339, allocations: 139.9 kB / 1.004 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003285/0.3343, allocations: 0.516 MB / 1.004 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.3345, allocations: 121.1 kB / 1.005 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.3352, allocations: 0.4954 MB / 1.005 GB, free: 11.68 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.3376, allocations: 0.9429 MB / 1.006 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3376, allocations: 4 kB / 1.006 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001431/0.339, allocations: 0.7336 MB / 1.007 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3391, allocations: 8 kB / 1.007 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.3391, allocations: 8 kB / 1.007 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.3393, allocations: 67.58 kB / 1.007 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.3397, allocations: 100.3 kB / 1.007 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.342, allocations: 2.329 MB / 1.009 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.343, allocations: 27.95 kB / 1.009 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.343, allocations: 24 kB / 1.009 GB, free: 7.184 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001143/0.3442, allocations: 0.7246 MB / 1.01 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.3445, allocations: 254.4 kB / 1.01 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.3448, allocations: 198.2 kB / 1.01 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3449, allocations: 0 / 1.01 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3449, allocations: 4 kB / 1.01 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007668/0.3456, allocations: 0.5341 MB / 1.011 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/0.35, allocations: 2.389 MB / 1.013 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.35, allocations: 7.938 kB / 1.013 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.3504, allocations: 63.91 kB / 1.013 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.3506, allocations: 63.64 kB / 1.013 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3506, allocations: 12.34 kB / 1.013 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.3528, allocations: 2.329 MB / 1.016 GB, free: 308 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3528, allocations: 4 kB / 1.016 GB, free: 304 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3542, allocations: 0.9164 MB / 1.016 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008104/0.355, allocations: 323.5 kB / 1.017 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.3551, allocations: 12 kB / 1.017 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.3557, allocations: 15.98 kB / 1.017 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.3558, allocations: 35.83 kB / 1.017 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.3558, allocations: 12 kB / 1.017 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00334/0.3592, allocations: 2.079 MB / 1.019 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3592, allocations: 0 / 1.019 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001224/0.3604, allocations: 300 kB / 1.019 GB, free: 12.53 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.3607, allocations: 169.1 kB / 1.019 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.3617, allocations: 0.5503 MB / 1.02 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3618, allocations: 0 / 1.02 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.3622, allocations: 343.6 kB / 1.02 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/0.3658, allocations: 0.8675 MB / 1.021 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/0.3722, allocations: 3.921 MB / 1.025 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.3739, allocations: 1.27 MB / 1.026 GB, free: 5.234 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0008618/0.3747, allocations: 249.3 kB / 1.026 GB, free: 4.984 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.375, allocations: 96.5 kB / 1.026 GB, free: 4.891 MB / 0.9792 GB Notification: Performance of SimCode: time 9.11e-07/0.375, allocations: 0 / 1.026 GB, free: 4.891 MB / 0.9792 GB Notification: Performance of Templates: time 0.3536/0.7286, allocations: 28.82 MB / 1.055 GB, free: 286.6 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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: 9.124525213963352]