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.001226/0.001226, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001362/0.001362, allocations: 169.8 kB / 24.86 MB, free: 9.27 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 0.9378/0.9378, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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 1.76/1.76, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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 3.657e-06/3.657e-06, allocations: 4 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.744e-05, allocations: 3.562 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00323/0.003268, allocations: 1.585 MB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.00343, allocations: 35.84 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.0035, allocations: 0.9062 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.003642, allocations: 11.86 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.003688, allocations: 5.094 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.003813, allocations: 15.98 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003916, allocations: 47.84 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.004056, allocations: 29.2 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.004115, allocations: 23.97 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.004189, allocations: 27.91 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.004211, allocations: 9.531 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.004222, allocations: 4 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.004271, allocations: 19.91 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.004306, allocations: 19.94 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.004418, allocations: 39.83 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.004422, allocations: 1 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.004424, allocations: 4 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.004428, allocations: 0.625 kB / 0.7901 GB, free: 10.33 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.0004206/0.004848, allocations: 389.8 kB / 0.7905 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.004889, allocations: 8.031 kB / 0.7905 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.004929, allocations: 16.89 kB / 0.7905 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005076, allocations: 128.5 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.005088, allocations: 5.375 kB / 0.7907 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.0051, allocations: 8.375 kB / 0.7907 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.00523, allocations: 89.27 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005238, allocations: 1.406 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005248, allocations: 4.375 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.005256, allocations: 4.375 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.005298, allocations: 25.23 kB / 0.7908 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.005817, allocations: 0.77 MB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.005921, allocations: 269.4 kB / 0.7918 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.005961, allocations: 129.7 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.006, allocations: 123.2 kB / 0.792 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.006062, allocations: 160.6 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.224e-06/0.006064, allocations: 0 / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.975e-05/0.006134, allocations: 29.7 kB / 0.7922 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.006202, allocations: 170.6 kB / 0.7924 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.006329, allocations: 185.8 kB / 0.7926 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.006338, allocations: 26.42 kB / 0.7926 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.006419, allocations: 154.7 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.006421, allocations: 1.656 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.006464, allocations: 27.3 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.006613, allocations: 0.4922 MB / 0.7932 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.006623, allocations: 0 / 0.7932 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.006652, allocations: 28.25 kB / 0.7933 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.006701, allocations: 36.64 kB / 0.7933 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006703, allocations: 0 / 0.7933 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001131/0.006816, allocations: 49.53 kB / 0.7934 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.006831, allocations: 9.844 kB / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.006838, allocations: 4 kB / 0.7934 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.006849, allocations: 0 / 0.7934 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.006904, allocations: 4 kB / 0.7934 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.006908, allocations: 3.984 kB / 0.7934 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.006933, allocations: 4.75 kB / 0.7934 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.006937, allocations: 0 / 0.7934 GB, free: 6.777 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.0001068/0.007043, allocations: 284.2 kB / 0.7936 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.007107, allocations: 153.5 kB / 0.7938 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.007162, allocations: 152.4 kB / 0.7939 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-05/0.007232, allocations: 268.6 kB / 0.7942 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.77e-05/0.007309, allocations: 277.3 kB / 0.7945 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.419e-05/0.007383, allocations: 264.1 kB / 0.7947 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.007622, allocations: 0.4925 MB / 0.7952 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/0.007664, allocations: 145.4 kB / 0.7953 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.007705, allocations: 148.9 kB / 0.7955 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.463e-05/0.007789, allocations: 269.4 kB / 0.7957 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/0.007862, allocations: 268.1 kB / 0.796 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-05/0.007941, allocations: 272 kB / 0.7962 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-05/0.008014, allocations: 265.2 kB / 0.7965 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.008169, allocations: 451.9 kB / 0.7969 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.008224, allocations: 152.8 kB / 0.7971 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.008304, allocations: 272 kB / 0.7973 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.008397, allocations: 146.1 kB / 0.7975 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.008476, allocations: 268.4 kB / 0.7977 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.008519, allocations: 156.8 kB / 0.7979 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.008576, allocations: 137.3 kB / 0.798 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008576, allocations: 0 / 0.798 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000262/0.008838, allocations: 11.94 kB / 0.798 GB, free: 1.84 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.0001458/0.008983, allocations: 215.2 kB / 0.7982 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.518e-05/0.009059, allocations: 24.59 kB / 0.7982 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.009061, allocations: 0 / 0.7982 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.009062, allocations: 0 / 0.7982 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.00949, allocations: 0.7132 MB / 0.7989 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.009826, allocations: 273.1 kB / 0.7992 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.009874, allocations: 64.03 kB / 0.7993 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.563e-05/0.00989, allocations: 4 kB / 0.7993 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.009929, allocations: 68.14 kB / 0.7993 GB, free: 440 kB / 0.7448 GB Notification: Performance of SimCode: time 9.61e-07/0.00993, allocations: 0 / 0.7993 GB, free: 440 kB / 0.7448 GB Notification: Performance of Templates: time 0.002217/0.01215, allocations: 302.6 kB / 0.7996 GB, free: 148 kB / 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.808570736087859]