Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.923/1.923, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 183.6 kB / 490.8 MB, free: 1.977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.3 MB / 0.7863 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.000941, allocations: 95.23 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.38e-06/5.41e-06, allocations: 0 / 1.072 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 143 MB / 1.212 GB, free: 40.19 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6509/0.884, allocations: 159 MB / 1.367 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.8843, allocations: 76.69 kB / 1.367 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1041/0.9884, allocations: 27.67 MB / 1.394 GB, free: 10.41 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.484e-05/0.9885, allocations: 24.19 kB / 1.394 GB, free: 10.4 MB / 0.823 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.002861/0.9914, allocations: 1.185 MB / 1.395 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.9914, allocations: 13.22 kB / 1.395 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.992, allocations: 134.1 kB / 1.395 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/0.996, allocations: 1.563 MB / 1.397 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.9961, allocations: 13.25 kB / 1.397 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.9962, allocations: 40.81 kB / 1.397 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001136/0.9974, allocations: 0.626 MB / 1.397 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.9984, allocations: 0.6235 MB / 1.398 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.9985, allocations: 1 kB / 1.398 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.9986, allocations: 0 / 1.398 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.9986, allocations: 14.75 kB / 1.398 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/1.003, allocations: 2.603 MB / 1.401 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/1.004, allocations: 0.6538 MB / 1.401 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/1.005, allocations: 406.6 kB / 1.402 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/1.005, allocations: 27.19 kB / 1.402 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/1.005, allocations: 36.81 kB / 1.402 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 3.987e-06/1.005, allocations: 0 / 1.402 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001817/1.007, allocations: 0.8986 MB / 1.403 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/1.007, allocations: 55.41 kB / 1.403 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.008, allocations: 0.9905 MB / 1.404 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/1.008, allocations: 25.7 kB / 1.404 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/1.009, allocations: 297.2 kB / 1.404 GB, free: 21.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/1.009, allocations: 171.6 kB / 1.404 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/1.009, allocations: 0 / 1.404 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.009, allocations: 346.9 kB / 1.404 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/1.01, allocations: 0.5432 MB / 1.405 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/1.01, allocations: 0.8592 MB / 1.406 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.011, allocations: 0.7548 MB / 1.406 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.011, allocations: 0 / 1.406 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002201/1.014, allocations: 1.699 MB / 1.408 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.014, allocations: 4 kB / 1.408 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.014, allocations: 19.88 kB / 1.408 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/1.014, allocations: 44.7 kB / 1.408 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.015, allocations: 354.5 kB / 1.409 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/1.02, allocations: 6.986 MB / 1.415 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.022, allocations: 126.6 kB / 1.415 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/1.022, allocations: 63.73 kB / 1.416 GB, free: 10.05 MB / 0.8386 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.0002357/1.022, allocations: 139.9 kB / 1.416 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/1.022, allocations: 106.6 kB / 1.416 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/1.024, allocations: 1.074 MB / 1.417 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.024, allocations: 4 kB / 1.417 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.024, allocations: 0 / 1.417 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.024, allocations: 0 / 1.417 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/1.026, allocations: 0.9015 MB / 1.418 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.026, allocations: 4 kB / 1.418 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/1.026, allocations: 119.4 kB / 1.418 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/1.026, allocations: 32.03 kB / 1.418 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/1.026, allocations: 15.55 kB / 1.418 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009864/1.027, allocations: 1.308 MB / 1.419 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.027, allocations: 0 / 1.419 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002027/1.03, allocations: 1.559 MB / 1.421 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/1.03, allocations: 371.5 kB / 1.421 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/1.03, allocations: 10.94 kB / 1.421 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/1.031, allocations: 35.88 kB / 1.421 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/1.031, allocations: 27.28 kB / 1.421 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/1.031, allocations: 47.14 kB / 1.421 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001068/1.032, allocations: 0.7168 MB / 1.422 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001348/1.034, allocations: 352.8 kB / 1.422 GB, free: 4.109 MB / 0.8386 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.0005755/1.034, allocations: 294.2 kB / 1.422 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002467/1.037, allocations: 1.5 MB / 1.424 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.037, allocations: 0 / 1.424 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/1.037, allocations: 468.6 kB / 1.424 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/1.038, allocations: 200.7 kB / 1.425 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/1.042, allocations: 2.087 MB / 1.427 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.043, allocations: 1.2 MB / 1.428 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/1.043, allocations: 0 / 1.428 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of Templates: time 0.02415/1.067, allocations: 12.63 MB / 1.44 GB, free: 2.637 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches