Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.883/1.883, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 187.1 kB / 487 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.3 MB / 0.7819 GB, free: 6.836 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009155/0.0009157, allocations: 100.1 kB / 0.9213 GB, free: 43.72 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.328e-06, allocations: 4 kB / 1.066 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6926, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.8701, allocations: 158.2 MB / 1.36 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.8704, allocations: 79.95 kB / 1.36 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.1029/0.9733, allocations: 27.66 MB / 1.387 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001678/0.9735, allocations: 24 kB / 1.387 GB, free: 9.27 MB / 0.8855 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.004639/0.9782, allocations: 1.189 MB / 1.388 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.9783, allocations: 8.031 kB / 1.388 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.9793, allocations: 130.4 kB / 1.388 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/0.9841, allocations: 1.565 MB / 1.39 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.9841, allocations: 16.53 kB / 1.39 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.9844, allocations: 39.98 kB / 1.39 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001128/0.9855, allocations: 0.6304 MB / 1.39 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.9867, allocations: 0.6157 MB / 1.391 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.9867, allocations: 0 / 1.391 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.9868, allocations: 0 / 1.391 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.9868, allocations: 17.03 kB / 1.391 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.9914, allocations: 2.603 MB / 1.393 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/0.9924, allocations: 0.6586 MB / 1.394 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000581/0.993, allocations: 401.4 kB / 1.394 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.735e-05/0.9931, allocations: 20.36 kB / 1.394 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.9931, allocations: 38.94 kB / 1.394 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 2.755e-06/0.9931, allocations: 0 / 1.394 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001671/0.9948, allocations: 0.8961 MB / 1.395 GB, free: 184 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.9949, allocations: 55.41 kB / 1.395 GB, free: 116 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.9965, allocations: 0.9911 MB / 1.396 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.9965, allocations: 25.7 kB / 1.396 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.9968, allocations: 304.6 kB / 1.397 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.997, allocations: 165.6 kB / 1.397 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.9971, allocations: 0 / 1.397 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.9973, allocations: 349.8 kB / 1.397 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.998, allocations: 0.5411 MB / 1.398 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009214/0.999, allocations: 0.8595 MB / 1.399 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/1, allocations: 0.7497 MB / 1.399 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1, allocations: 0 / 1.399 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002874/1.003, allocations: 1.707 MB / 1.401 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.003, allocations: 7.938 kB / 1.401 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/1.003, allocations: 12 kB / 1.401 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/1.004, allocations: 41.38 kB / 1.401 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.005, allocations: 355.6 kB / 1.401 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/1.01, allocations: 6.983 MB / 1.408 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.011, allocations: 127.3 kB / 1.408 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/1.012, allocations: 67.17 kB / 1.408 GB, free: 2.375 MB / 0.9011 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.0002237/1.012, allocations: 144.6 kB / 1.408 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/1.012, allocations: 106.6 kB / 1.409 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/1.014, allocations: 1.074 MB / 1.41 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.014, allocations: 7.984 kB / 1.41 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.014, allocations: 0 / 1.41 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.014, allocations: 0 / 1.41 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/1.016, allocations: 0.8953 MB / 1.411 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.016, allocations: 7.984 kB / 1.411 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/1.016, allocations: 119.9 kB / 1.411 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/1.016, allocations: 32.78 kB / 1.411 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/1.016, allocations: 15.98 kB / 1.411 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/1.017, allocations: 1.305 MB / 1.412 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.017, allocations: 0 / 1.412 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002148/1.02, allocations: 1.565 MB / 1.413 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/1.02, allocations: 373.4 kB / 1.414 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/1.021, allocations: 4 kB / 1.414 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009291/1.022, allocations: 31.89 kB / 1.414 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/1.022, allocations: 43.8 kB / 1.414 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/1.022, allocations: 35.98 kB / 1.414 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.001107/1.023, allocations: 0.718 MB / 1.415 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001399/1.024, allocations: 351.6 kB / 1.415 GB, free: 11.34 MB / 0.9167 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.0006972/1.025, allocations: 284.9 kB / 1.415 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002534/1.028, allocations: 1.503 MB / 1.417 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.028, allocations: 0 / 1.417 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/1.028, allocations: 467.4 kB / 1.417 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.029, allocations: 202.8 kB / 1.417 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/1.033, allocations: 2.089 MB / 1.419 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009708/1.034, allocations: 1.202 MB / 1.421 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/1.034, allocations: 0 / 1.421 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of Templates: time 0.0239/1.058, allocations: 12.63 MB / 1.433 GB, free: 9.164 MB / 0.9323 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches