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.001449/0.001449, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001551/0.001551, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.471/1.471, 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.711/2.711, allocations: 359 MB / 0.6048 GB, free: 10.96 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.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.603e-06/1.603e-06, allocations: 0 / 0.7864 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.318e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002748/0.002771, allocations: 1.555 MB / 0.7879 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.0029, allocations: 36.84 kB / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.00294, allocations: 0 / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.00305, allocations: 16.7 kB / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.00308, allocations: 0 / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.003183, allocations: 24.97 kB / 0.788 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003286, allocations: 47.83 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.003395, allocations: 23.92 kB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.003451, allocations: 32.75 kB / 0.7881 GB, free: 10 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.003514, allocations: 23.91 kB / 0.7881 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.00354, allocations: 12.84 kB / 0.7881 GB, free: 9.965 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.003551, allocations: 4 kB / 0.7881 GB, free: 9.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.00359, allocations: 11.98 kB / 0.7881 GB, free: 9.949 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.003629, allocations: 20.77 kB / 0.7881 GB, free: 9.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003736, allocations: 55.8 kB / 0.7882 GB, free: 9.875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003738, allocations: 0.75 kB / 0.7882 GB, free: 9.875 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003739, allocations: 0 / 0.7882 GB, free: 9.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.125e-06/0.003742, allocations: 1.25 kB / 0.7882 GB, free: 9.875 MB / 0.698 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.0004269/0.004169, allocations: 294.1 kB / 0.7885 GB, free: 9.555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.004202, allocations: 8.031 kB / 0.7885 GB, free: 9.547 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.00425, allocations: 14.61 kB / 0.7885 GB, free: 9.535 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.004429, allocations: 129.6 kB / 0.7886 GB, free: 9.383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.004442, allocations: 4.375 kB / 0.7886 GB, free: 9.379 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.004458, allocations: 8.375 kB / 0.7886 GB, free: 9.371 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.004636, allocations: 97.67 kB / 0.7887 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004645, allocations: 192 / 0.7887 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.004656, allocations: 4.375 kB / 0.7887 GB, free: 9.258 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.00466, allocations: 1 kB / 0.7887 GB, free: 9.258 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.004764, allocations: 49.27 kB / 0.7888 GB, free: 9.211 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.00539, allocations: 0.5696 MB / 0.7893 GB, free: 8.602 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.005505, allocations: 173.1 kB / 0.7895 GB, free: 8.422 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.005553, allocations: 82.03 kB / 0.7896 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.005592, allocations: 75.28 kB / 0.7896 GB, free: 8.266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.897e-05/0.005661, allocations: 109.8 kB / 0.7897 GB, free: 8.148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.005661, allocations: 1.062 kB / 0.7897 GB, free: 8.148 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.005e-05/0.005742, allocations: 33.66 kB / 0.7898 GB, free: 8.109 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.005819, allocations: 126.7 kB / 0.7899 GB, free: 7.973 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.00596, allocations: 127.2 kB / 0.79 GB, free: 7.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.005978, allocations: 25.7 kB / 0.79 GB, free: 7.809 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.00606, allocations: 107.9 kB / 0.7901 GB, free: 7.699 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.006062, allocations: 0.7188 kB / 0.7901 GB, free: 7.699 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.006097, allocations: 25.59 kB / 0.7902 GB, free: 7.668 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.006265, allocations: 316.4 kB / 0.7905 GB, free: 7.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.006283, allocations: 8 kB / 0.7905 GB, free: 7.344 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.006312, allocations: 22.56 kB / 0.7905 GB, free: 7.312 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.006361, allocations: 27.67 kB / 0.7905 GB, free: 7.277 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006362, allocations: 0 / 0.7905 GB, free: 7.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001351/0.006497, allocations: 63.12 kB / 0.7906 GB, free: 7.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.006511, allocations: 7.984 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006515, allocations: 0 / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.00653, allocations: 1.562 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.006585, allocations: 8 kB / 0.7906 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006589, allocations: 0 / 0.7906 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.00663, allocations: 7.875 kB / 0.7906 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.006637, allocations: 6.688 kB / 0.7906 GB, free: 7.184 MB / 0.698 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.0001277/0.006765, allocations: 189.1 kB / 0.7908 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.006852, allocations: 112.9 kB / 0.7909 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.006916, allocations: 104.5 kB / 0.791 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001576/0.007074, allocations: 180.3 kB / 0.7912 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001009/0.007175, allocations: 184.2 kB / 0.7914 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.851e-05/0.007273, allocations: 188.2 kB / 0.7915 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.007558, allocations: 373.3 kB / 0.7919 GB, free: 5.801 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.324e-05/0.007621, allocations: 101.7 kB / 0.792 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.007678, allocations: 105 kB / 0.7921 GB, free: 5.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.007782, allocations: 188.8 kB / 0.7923 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/0.00788, allocations: 181.7 kB / 0.7924 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.625e-05/0.007976, allocations: 184.2 kB / 0.7926 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.406e-05/0.00807, allocations: 180.2 kB / 0.7928 GB, free: 4.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.008263, allocations: 315.6 kB / 0.7931 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.008327, allocations: 105.5 kB / 0.7932 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.008432, allocations: 180.2 kB / 0.7934 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.008541, allocations: 106.4 kB / 0.7935 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.00864, allocations: 180.2 kB / 0.7936 GB, free: 3.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.008699, allocations: 108.9 kB / 0.7937 GB, free: 3.809 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.844e-05/0.008777, allocations: 100.4 kB / 0.7938 GB, free: 3.711 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008778, allocations: 0 / 0.7938 GB, free: 3.711 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002496/0.009027, allocations: 11.95 kB / 0.7938 GB, free: 3.699 MB / 0.698 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.0001528/0.00918, allocations: 175.8 kB / 0.794 GB, free: 3.516 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.651e-05/0.009246, allocations: 11.94 kB / 0.794 GB, free: 3.504 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009248, allocations: 1.75 kB / 0.794 GB, free: 3.504 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.009252, allocations: 4 kB / 0.794 GB, free: 3.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.009708, allocations: 455.7 kB / 0.7945 GB, free: 3.051 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.01007, allocations: 220.3 kB / 0.7947 GB, free: 2.809 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.926e-05/0.01016, allocations: 81.14 kB / 0.7948 GB, free: 2.711 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.126e-05/0.01017, allocations: 0 / 0.7948 GB, free: 2.711 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.0102, allocations: 12.48 kB / 0.7948 GB, free: 2.699 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.0102, allocations: 0 / 0.7948 GB, free: 2.699 MB / 0.698 GB Notification: Performance of Templates: time 0.002456/0.01266, allocations: 276.9 kB / 0.795 GB, free: 2.441 MB / 0.698 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] 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.2024404319236055]