Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008355/0.0008355, allocations: 80.45 kB / 19.93 MB, free: 4.605 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.0007748/0.0007748, allocations: 173.2 kB / 23.22 MB, free: 1.316 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.9104/0.9104, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.714/1.714, allocations: 377.8 MB / 0.6228 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.536e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001891/0.001916, allocations: 1.545 MB / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001139/0.00203, allocations: 39.84 kB / 0.9837 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.002083, allocations: 0 / 0.9837 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.002208, allocations: 7.875 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.176e-05/0.00224, allocations: 7.922 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.002358, allocations: 19.98 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.002449, allocations: 43.84 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.002573, allocations: 27.91 kB / 0.9838 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.002624, allocations: 31.91 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.002696, allocations: 27.91 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.002728, allocations: 4 kB / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.002742, allocations: 8 kB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.002785, allocations: 19.91 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.002814, allocations: 12 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.002916, allocations: 59.73 kB / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002918, allocations: 0 / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002919, allocations: 0 / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.002924, allocations: 0 / 0.984 GB, free: 204 kB / 0.9323 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.000333/0.003257, allocations: 290.1 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.003299, allocations: 8.031 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.003329, allocations: 12.89 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.00346, allocations: 125.7 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.003471, allocations: 8.375 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.003481, allocations: 4.375 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.003612, allocations: 111.8 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.00362, allocations: 192 / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.003629, allocations: 384 / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.003635, allocations: 4.375 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.0037, allocations: 51.83 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.004096, allocations: 0.5618 MB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.004166, allocations: 169.1 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.004192, allocations: 88.14 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.004213, allocations: 75.28 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.00454, allocations: 109.8 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.004541, allocations: 0 / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.833e-05/0.004599, allocations: 41.58 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.004646, allocations: 126.7 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.004737, allocations: 121.8 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.004745, allocations: 25.7 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.004799, allocations: 115.9 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.004802, allocations: 0 / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.004826, allocations: 13.72 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.004901, allocations: 326.8 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.004913, allocations: 4 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.004932, allocations: 22.58 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.004967, allocations: 26.52 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.004969, allocations: 0 / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001009/0.00507, allocations: 57.58 kB / 0.9864 GB, free: 13.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005082, allocations: 8.094 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.005088, allocations: 4 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.005101, allocations: 0 / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.005153, allocations: 4 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.005162, allocations: 7.922 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.005186, allocations: 11.88 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.00519, allocations: 0 / 0.9864 GB, free: 13.49 MB / 0.948 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 7.485e-05/0.005265, allocations: 197.1 kB / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.005299, allocations: 101 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.005335, allocations: 116.4 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/0.005379, allocations: 180.3 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-05/0.005422, allocations: 184.3 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/0.005464, allocations: 184.2 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.005613, allocations: 372.8 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/0.00564, allocations: 108.9 kB / 0.9878 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.005664, allocations: 101 kB / 0.9879 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.31e-05/0.005707, allocations: 176.3 kB / 0.9881 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.005762, allocations: 188.2 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.415e-05/0.005816, allocations: 184.2 kB / 0.9884 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-05/0.00586, allocations: 184.2 kB / 0.9886 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.521e-05/0.005955, allocations: 307.7 kB / 0.9889 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.005992, allocations: 116.9 kB / 0.989 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.006041, allocations: 176.3 kB / 0.9892 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.006104, allocations: 108.9 kB / 0.9893 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.006172, allocations: 180.3 kB / 0.9895 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.006205, allocations: 101 kB / 0.9896 GB, free: 10.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.006256, allocations: 99.2 kB / 0.9897 GB, free: 10.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.006256, allocations: 3.938 kB / 0.9897 GB, free: 10.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001473/0.006404, allocations: 11.95 kB / 0.9897 GB, free: 10 MB / 0.948 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 8.712e-05/0.006491, allocations: 178.4 kB / 0.9898 GB, free: 9.812 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.31e-05/0.006554, allocations: 15.98 kB / 0.9899 GB, free: 9.797 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006555, allocations: 0 / 0.9899 GB, free: 9.797 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.006556, allocations: 0 / 0.9899 GB, free: 9.797 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.006818, allocations: 463.6 kB / 0.9903 GB, free: 9.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.007098, allocations: 249.7 kB / 0.9905 GB, free: 9.062 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.007151, allocations: 83.02 kB / 0.9906 GB, free: 8.961 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.007173, allocations: 12.5 kB / 0.9906 GB, free: 8.949 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.007173, allocations: 0 / 0.9906 GB, free: 8.949 MB / 0.948 GB Notification: Performance of Templates: time 0.001356/0.008529, allocations: 0.7041 MB / 0.9913 GB, free: 8.242 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.740243702195585]