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.001747/0.001747, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001575/0.001575, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.449/1.449, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.752/2.752, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 2.224e-06/2.224e-06, allocations: 4.484 kB / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.07e-05, allocations: 5.266 kB / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2245/0.2245, allocations: 157.9 MB / 0.9407 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.2432, allocations: 10.21 MB / 0.9506 GB, free: 4.078 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.2459, allocations: 127 kB / 0.9507 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.005576/0.2514, allocations: 1.907 MB / 0.9526 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.2559, allocations: 1.728 MB / 0.9543 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.2581, allocations: 0.8103 MB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.004664/0.2628, allocations: 3.275 MB / 0.9583 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.2644, allocations: 0.9968 MB / 0.9593 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.2669, allocations: 1.601 MB / 0.9608 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.269, allocations: 0.9663 MB / 0.9618 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.2693, allocations: 131.9 kB / 0.9619 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.2711, allocations: 0.8064 MB / 0.9627 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.2717, allocations: 0.494 MB / 0.9632 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0009351/0.2726, allocations: 0.6389 MB / 0.9638 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004576/0.2772, allocations: 3.403 MB / 0.9671 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2772, allocations: 0 / 0.9671 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2772, allocations: 0 / 0.9671 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.186e-05/0.2773, allocations: 4 kB / 0.9671 GB, free: 3.125 MB / 0.9167 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.004575/0.2818, allocations: 2.799 MB / 0.9698 GB, free: 288 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2819, allocations: 12.03 kB / 0.9699 GB, free: 276 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.2835, allocations: 461.9 kB / 0.9703 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.2871, allocations: 2.092 MB / 0.9723 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.2872, allocations: 58 kB / 0.9724 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.2873, allocations: 76 kB / 0.9725 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.289, allocations: 1.041 MB / 0.9735 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.289, allocations: 0 / 0.9735 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.2891, allocations: 32 kB / 0.9735 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-05/0.2892, allocations: 36.98 kB / 0.9735 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2904, allocations: 0.6946 MB / 0.9742 GB, free: 11.66 MB / 0.9323 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.005835/0.2963, allocations: 3.498 MB / 0.9776 GB, free: 8.086 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.2968, allocations: 298.6 kB / 0.9779 GB, free: 7.785 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.2971, allocations: 166.7 kB / 0.9781 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.2972, allocations: 31.97 kB / 0.9781 GB, free: 7.59 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.2973, allocations: 42.5 kB / 0.9782 GB, free: 7.539 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.2973, allocations: 0 / 0.9782 GB, free: 7.539 MB / 0.9323 GB Notification: Performance of matching and sorting (n=32): time 0.003364/0.3006, allocations: 1.581 MB / 0.9797 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3007, allocations: 55.41 kB / 0.9798 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/0.3046, allocations: 2.745 MB / 0.9824 GB, free: 3.09 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.3046, allocations: 29.7 kB / 0.9825 GB, free: 3.055 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3058, allocations: 1.058 MB / 0.9835 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.3059, allocations: 119 kB / 0.9836 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.3061, allocations: 106.2 kB / 0.9837 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3063, allocations: 338 kB / 0.984 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.3066, allocations: 165 kB / 0.9842 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.3071, allocations: 441.3 kB / 0.9846 GB, free: 0.7305 MB / 0.9323 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.00246/0.3096, allocations: 1.006 MB / 0.9856 GB, free: 15.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3096, allocations: 3.938 kB / 0.9856 GB, free: 15.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00135/0.3109, allocations: 0.8124 MB / 0.9864 GB, free: 14.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3109, allocations: 8 kB / 0.9864 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.311, allocations: 8.781 kB / 0.9864 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.3112, allocations: 68.81 kB / 0.9865 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.3116, allocations: 95.84 kB / 0.9866 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.3135, allocations: 1.731 MB / 0.9883 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000712/0.3142, allocations: 27.94 kB / 0.9883 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.3142, allocations: 28.06 kB / 0.9883 GB, free: 12.75 MB / 0.948 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.001104/0.3153, allocations: 0.7901 MB / 0.9891 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.3156, allocations: 242.4 kB / 0.9893 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.316, allocations: 242.2 kB / 0.9895 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.316, allocations: 4 kB / 0.9895 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.316, allocations: 0 / 0.9895 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008056/0.3168, allocations: 0.6016 MB / 0.9901 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.3198, allocations: 1.802 MB / 0.9919 GB, free: 8.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.3198, allocations: 4 kB / 0.9919 GB, free: 8.906 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.3202, allocations: 60.31 kB / 0.992 GB, free: 8.848 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.3204, allocations: 64.81 kB / 0.992 GB, free: 8.781 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.3204, allocations: 8 kB / 0.992 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.3223, allocations: 1.739 MB / 0.9937 GB, free: 6.938 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3223, allocations: 4 kB / 0.9937 GB, free: 6.934 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3236, allocations: 0.9256 MB / 0.9946 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.3242, allocations: 335.5 kB / 0.9949 GB, free: 5.621 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.3244, allocations: 15.98 kB / 0.995 GB, free: 5.605 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.325, allocations: 14.84 kB / 0.995 GB, free: 5.594 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.325, allocations: 35.83 kB / 0.995 GB, free: 5.559 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3251, allocations: 12 kB / 0.995 GB, free: 5.547 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002806/0.3279, allocations: 1.934 MB / 0.9969 GB, free: 3.605 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3279, allocations: 4 kB / 0.9969 GB, free: 3.602 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009977/0.3289, allocations: 296.1 kB / 0.9972 GB, free: 3.312 MB / 0.948 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.000323/0.3292, allocations: 171 kB / 0.9974 GB, free: 3.137 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009648/0.3301, allocations: 0.5115 MB / 0.9979 GB, free: 2.613 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3301, allocations: 4 kB / 0.9979 GB, free: 2.609 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.3306, allocations: 298.2 kB / 0.9981 GB, free: 2.305 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.334, allocations: 0.8595 MB / 0.999 GB, free: 1.465 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/0.3407, allocations: 4.141 MB / 1.003 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.3424, allocations: 1.388 MB / 1.004 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001034/0.3435, allocations: 309.3 kB / 1.005 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.3437, allocations: 92.5 kB / 1.005 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of SimCode: time 1.372e-06/0.3437, allocations: 0 / 1.005 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of Templates: time 0.05168/0.3954, allocations: 28.95 MB / 1.033 GB, free: 15.11 MB / 0.9948 GB " [Timeout remaining time 300] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] 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: 8.390901733073406]