Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001253/0.001253, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001473/0.001473, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.035/1.035, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.21/2.21, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8897 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.24e-05, allocations: 13.2 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001764/0.001776, allocations: 1.576 MB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.001888, allocations: 27.88 kB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.001932, allocations: 0 / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.946e-05/0.002031, allocations: 15.86 kB / 0.8913 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.002062, allocations: 15.92 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 9.117e-05/0.002153, allocations: 15.97 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.002225, allocations: 47.84 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.00232, allocations: 23.92 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.002365, allocations: 35.89 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.002417, allocations: 27.91 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.002433, allocations: 4 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.002442, allocations: 4 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.002716, allocations: 15.92 kB / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.002741, allocations: 19.92 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.699e-05/0.002818, allocations: 43.84 kB / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002819, allocations: 0 / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00282, allocations: 0 / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.554e-06/0.002822, allocations: 0 / 0.8916 GB, free: 7.852 MB / 0.8542 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.0002659/0.003088, allocations: 392 kB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.003119, allocations: 8.625 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.003145, allocations: 16.89 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.68e-05/0.003232, allocations: 132.5 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.003241, allocations: 8.312 kB / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.00325, allocations: 4.375 kB / 0.8921 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.336e-05/0.003333, allocations: 85.3 kB / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.003339, allocations: 192 / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.003346, allocations: 4.375 kB / 0.8922 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.003353, allocations: 4.375 kB / 0.8922 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.00338, allocations: 31.84 kB / 0.8922 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.003706, allocations: 0.7622 MB / 0.893 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.00378, allocations: 273.4 kB / 0.8932 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.003808, allocations: 126.9 kB / 0.8934 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.003832, allocations: 123.2 kB / 0.8935 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.003871, allocations: 160.6 kB / 0.8936 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.003872, allocations: 0 / 0.8936 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.258e-05/0.003914, allocations: 29.66 kB / 0.8937 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.003955, allocations: 178.6 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.00403, allocations: 173.8 kB / 0.894 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.004037, allocations: 25.7 kB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.004088, allocations: 158.6 kB / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.00409, allocations: 11.94 kB / 0.8942 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.004111, allocations: 15.38 kB / 0.8942 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.004206, allocations: 0.4961 MB / 0.8947 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-06/0.004211, allocations: 0 / 0.8947 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.004228, allocations: 35.05 kB / 0.8947 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.004256, allocations: 27.06 kB / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004257, allocations: 0 / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.896e-05/0.004326, allocations: 61.52 kB / 0.8948 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.004335, allocations: 4 kB / 0.8948 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.004339, allocations: 0 / 0.8948 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.004349, allocations: 0 / 0.8948 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.004384, allocations: 12.09 kB / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.004386, allocations: 0 / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.004402, allocations: 0 / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.004406, allocations: 7.938 kB / 0.8948 GB, free: 4.277 MB / 0.8542 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.101e-05/0.004477, allocations: 279.7 kB / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.004517, allocations: 156.8 kB / 0.8952 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.00456, allocations: 148.4 kB / 0.8954 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/0.004613, allocations: 268.1 kB / 0.8956 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-05/0.004665, allocations: 272 kB / 0.8959 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-05/0.00472, allocations: 264.1 kB / 0.8962 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.004872, allocations: 0.4926 MB / 0.8966 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.803e-05/0.0049, allocations: 148.9 kB / 0.8968 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.004929, allocations: 144.9 kB / 0.8969 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.306e-05/0.004982, allocations: 268 kB / 0.8972 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.005037, allocations: 268.1 kB / 0.8974 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.996e-05/0.005087, allocations: 272 kB / 0.8977 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-05/0.005137, allocations: 268.1 kB / 0.8979 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.005254, allocations: 464.1 kB / 0.8984 GB, free: 488 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.005294, allocations: 156.9 kB / 0.8985 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.005609, allocations: 268 kB / 0.8988 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.005672, allocations: 148.9 kB / 0.8989 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.005726, allocations: 272.1 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.005756, allocations: 148.8 kB / 0.8993 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.005794, allocations: 135.2 kB / 0.8995 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005794, allocations: 0 / 0.8995 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001378/0.005932, allocations: 15.89 kB / 0.8995 GB, free: 15.32 MB / 0.8698 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 7.766e-05/0.006009, allocations: 210.4 kB / 0.8997 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.472e-05/0.006054, allocations: 23.61 kB / 0.8997 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006055, allocations: 0 / 0.8997 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.006057, allocations: 4.188 kB / 0.8997 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.006319, allocations: 0.71 MB / 0.9004 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.006535, allocations: 269.3 kB / 0.9007 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.006564, allocations: 59.34 kB / 0.9007 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.043e-05/0.006575, allocations: 4 kB / 0.9007 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.006602, allocations: 66.2 kB / 0.9008 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of SimCode: time 6.22e-07/0.006603, allocations: 3.938 kB / 0.9008 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of Templates: time 0.00148/0.008082, allocations: 302.1 kB / 0.9011 GB, free: 13.63 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.858517589047551]