Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 173.3 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 90.25 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.411e-06/5.5e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1527, allocations: 106.3 MB / 0.8845 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.602, allocations: 141.7 MB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.6022, allocations: 77.36 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0924/0.6946, allocations: 27.36 MB / 1.05 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.283e-05/0.6947, allocations: 31.94 kB / 1.05 GB, free: 6.191 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001905/0.6967, allocations: 1.185 MB / 1.051 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.6967, allocations: 8.031 kB / 1.051 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.697, allocations: 134.3 kB / 1.051 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.7002, allocations: 1.559 MB / 1.053 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.7003, allocations: 12 kB / 1.053 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-05/0.7004, allocations: 39.91 kB / 1.053 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008523/0.7012, allocations: 0.6301 MB / 1.053 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008296/0.7021, allocations: 0.6216 MB / 1.054 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.7021, allocations: 0 / 1.054 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.7021, allocations: 0 / 1.054 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.7022, allocations: 12 kB / 1.054 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.7054, allocations: 2.605 MB / 1.056 GB, free: 304 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/0.7063, allocations: 0.661 MB / 1.057 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.7068, allocations: 398.7 kB / 1.057 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.488e-05/0.7069, allocations: 28.09 kB / 1.057 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.7069, allocations: 38.44 kB / 1.057 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 2.023e-06/0.7069, allocations: 0 / 1.057 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.001436/0.7084, allocations: 0.9006 MB / 1.058 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.7084, allocations: 55.41 kB / 1.058 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.7096, allocations: 0.9894 MB / 1.059 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.7097, allocations: 29.64 kB / 1.059 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.7098, allocations: 297.1 kB / 1.06 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.71, allocations: 170.8 kB / 1.06 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.7101, allocations: 0 / 1.06 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7102, allocations: 344.4 kB / 1.06 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.7109, allocations: 0.5403 MB / 1.061 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/0.7117, allocations: 0.8583 MB / 1.062 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.713, allocations: 0.7569 MB / 1.062 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.713, allocations: 0 / 1.062 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002434/0.7154, allocations: 1.708 MB / 1.064 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7155, allocations: 4 kB / 1.064 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.7155, allocations: 12 kB / 1.064 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.7157, allocations: 44.97 kB / 1.064 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.7173, allocations: 358.4 kB / 1.064 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004337/0.7217, allocations: 6.983 MB / 1.071 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.7229, allocations: 122.6 kB / 1.071 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.7231, allocations: 63.55 kB / 1.071 GB, free: 2.613 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.7232, allocations: 140.5 kB / 1.071 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.7234, allocations: 110.5 kB / 1.072 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.7251, allocations: 1.071 MB / 1.073 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.7251, allocations: 4 kB / 1.073 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.7251, allocations: 7.906 kB / 1.073 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.7251, allocations: 0 / 1.073 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.7261, allocations: 0.9038 MB / 1.074 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7261, allocations: 4 kB / 1.074 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.7267, allocations: 119.6 kB / 1.074 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.7268, allocations: 28.72 kB / 1.074 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.7269, allocations: 11.98 kB / 1.074 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008872/0.7278, allocations: 1.3 MB / 1.075 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7278, allocations: 3.984 kB / 1.075 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001817/0.7296, allocations: 1.559 MB / 1.076 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/0.7301, allocations: 367.2 kB / 1.077 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.7303, allocations: 7.062 kB / 1.077 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/0.7311, allocations: 35.84 kB / 1.077 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.7312, allocations: 35.7 kB / 1.077 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.7312, allocations: 35.61 kB / 1.077 GB, free: 13.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0007946/0.732, allocations: 0.7162 MB / 1.078 GB, free: 13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001015/0.733, allocations: 362.3 kB / 1.078 GB, free: 12.66 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004897/0.7335, allocations: 287.8 kB / 1.078 GB, free: 12.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.7357, allocations: 1.503 MB / 1.08 GB, free: 11.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7357, allocations: 2.25 kB / 1.08 GB, free: 11.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.7361, allocations: 469.2 kB / 1.08 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.7369, allocations: 192.9 kB / 1.08 GB, free: 10.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.7398, allocations: 2.097 MB / 1.082 GB, free: 8.719 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008257/0.7406, allocations: 1.195 MB / 1.084 GB, free: 7.523 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/0.7407, allocations: 0 / 1.084 GB, free: 7.523 MB / 0.698 GB Notification: Performance of Templates: time 0.02145/0.7621, allocations: 12.64 MB / 1.096 GB, free: 11.07 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches