Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.0019/0.0019, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.001975/0.001975, allocations: 157.4 kB / 23.55 MB, free: 0.8594 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.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.582 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.85/2.85, allocations: 359 MB / 0.6048 GB, free: 10.96 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.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.786e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003097/0.003125, allocations: 1.558 MB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001313/0.003256, allocations: 29.16 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.003305, allocations: 3.938 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.003433, allocations: 15.92 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.328e-05/0.003477, allocations: 9.5 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.003586, allocations: 15.98 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003692, allocations: 43.84 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003818, allocations: 31.94 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.003883, allocations: 29.14 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.003947, allocations: 19.97 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.00397, allocations: 4 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.003984, allocations: 4.625 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.004045, allocations: 25.31 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.004086, allocations: 15.92 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.004215, allocations: 59.8 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004217, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004218, allocations: 0.8438 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004223, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004997/0.004722, allocations: 392.6 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.004761, allocations: 12.72 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.00481, allocations: 16.83 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.005125, allocations: 121.5 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.00514, allocations: 4.375 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.005153, allocations: 4.375 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.00533, allocations: 109.8 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.005339, allocations: 1.781 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.005349, allocations: 384 / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005356, allocations: 4.375 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.005434, allocations: 27.92 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.006269, allocations: 0.809 MB / 0.7897 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.006442, allocations: 264.9 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.006516, allocations: 130.9 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.006581, allocations: 119.2 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.37e-05/0.006665, allocations: 152.6 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.006666, allocations: 0 / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.335e-05/0.006749, allocations: 49.58 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.006853, allocations: 174.6 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.00704, allocations: 181.9 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.007058, allocations: 25.7 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.007171, allocations: 163.3 kB / 0.7909 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.007173, allocations: 0 / 0.7909 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.007215, allocations: 21.03 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.007474, allocations: 0.4961 MB / 0.7914 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.007488, allocations: 0 / 0.7914 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.007525, allocations: 35.06 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.007583, allocations: 36.91 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007584, allocations: 0 / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001387/0.007723, allocations: 58.77 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.00774, allocations: 8 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.007745, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.007758, allocations: 0.6562 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.007815, allocations: 4 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.00782, allocations: 0.7188 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.007858, allocations: 7.938 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.007864, allocations: 5.219 kB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.000173/0.008037, allocations: 283.7 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.00814, allocations: 153.6 kB / 0.7919 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.876e-05/0.008228, allocations: 156.3 kB / 0.7921 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001406/0.008369, allocations: 273.4 kB / 0.7923 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001396/0.008508, allocations: 268.1 kB / 0.7926 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001376/0.008646, allocations: 268 kB / 0.7928 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.009018, allocations: 0.5155 MB / 0.7934 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-05/0.009096, allocations: 145.5 kB / 0.7935 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.009182, allocations: 153.4 kB / 0.7936 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.009327, allocations: 268.1 kB / 0.7939 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.009469, allocations: 269.2 kB / 0.7942 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000142/0.009611, allocations: 264.1 kB / 0.7944 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001426/0.009753, allocations: 276.1 kB / 0.7947 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.01003, allocations: 448.7 kB / 0.7951 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.627e-05/0.01012, allocations: 152.8 kB / 0.7952 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.01028, allocations: 269.4 kB / 0.7955 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.01041, allocations: 152.9 kB / 0.7956 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.01069, allocations: 272.3 kB / 0.7959 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/0.01077, allocations: 146.2 kB / 0.796 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001082/0.01088, allocations: 147.5 kB / 0.7962 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01088, allocations: 0 / 0.7962 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002315/0.01111, allocations: 11.95 kB / 0.7962 GB, free: 2.328 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001892/0.0113, allocations: 219.4 kB / 0.7964 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.0114, allocations: 24.53 kB / 0.7964 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0114, allocations: 0.8125 kB / 0.7964 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.0114, allocations: 0 / 0.7964 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.01198, allocations: 0.7109 MB / 0.7971 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.01238, allocations: 277 kB / 0.7974 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.804e-05/0.01247, allocations: 80.2 kB / 0.7975 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.01249, allocations: 9.203 kB / 0.7975 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.01252, allocations: 8.5 kB / 0.7975 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01252, allocations: 0 / 0.7975 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of Templates: time 0.002844/0.01536, allocations: 281.7 kB / 0.7977 GB, free: 0.6836 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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: 7.688463710946962]