Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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.723/1.723, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009123/0.0009123, allocations: 187.7 kB / 490.8 MB, free: 1.953 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.069/1.069, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0008139/0.0008139, allocations: 94.09 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.789e-06/4.809e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.313/2.483, allocations: 1.735 GB / 2.947 GB, free: 136.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/2.484, allocations: 83.95 kB / 2.947 GB, free: 136.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.192/2.676, allocations: 100.2 MB / 3.045 GB, free: 35.75 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.813e-05/2.676, allocations: 47.94 kB / 3.045 GB, free: 35.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.003119/2.679, allocations: 2.013 MB / 3.047 GB, free: 33.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/2.679, allocations: 8.031 kB / 3.047 GB, free: 33.63 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/2.691, allocations: 2.12 MB / 3.049 GB, free: 31.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/2.692, allocations: 1.063 MB / 3.05 GB, free: 30.39 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/2.693, allocations: 64 kB / 3.05 GB, free: 30.33 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/2.693, allocations: 112 kB / 3.05 GB, free: 30.22 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003976/2.697, allocations: 2.858 MB / 3.053 GB, free: 27.36 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/2.7, allocations: 2.173 MB / 3.055 GB, free: 25.15 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/2.7, allocations: 0 / 3.055 GB, free: 25.15 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/2.7, allocations: 4 kB / 3.055 GB, free: 25.15 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/2.7, allocations: 59.89 kB / 3.055 GB, free: 25.09 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/2.712, allocations: 6.866 MB / 3.062 GB, free: 18.05 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/2.714, allocations: 1.843 MB / 3.063 GB, free: 16.19 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/2.715, allocations: 1.005 MB / 3.064 GB, free: 15.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/2.716, allocations: 0.5072 MB / 3.065 GB, free: 14.58 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/2.717, allocations: 1.254 MB / 3.066 GB, free: 13.31 MB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 2.565e-06/2.717, allocations: 0 / 3.066 GB, free: 13.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.004095/2.721, allocations: 2.238 MB / 3.068 GB, free: 11.06 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/2.721, allocations: 253.3 kB / 3.069 GB, free: 10.75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/2.722, allocations: 0.6409 MB / 3.069 GB, free: 10.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/2.722, allocations: 29.7 kB / 3.069 GB, free: 10.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/2.722, allocations: 0.5394 MB / 3.07 GB, free: 9.523 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/2.722, allocations: 0.6041 MB / 3.07 GB, free: 8.91 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/2.723, allocations: 4 kB / 3.07 GB, free: 8.906 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/2.723, allocations: 426.6 kB / 3.071 GB, free: 8.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/2.724, allocations: 0.7694 MB / 3.072 GB, free: 7.711 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/2.725, allocations: 0.9462 MB / 3.072 GB, free: 6.73 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/2.727, allocations: 1.029 MB / 3.073 GB, free: 5.703 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.727, allocations: 0 / 3.073 GB, free: 5.703 MB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004109/2.731, allocations: 2.289 MB / 3.076 GB, free: 3.402 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/2.731, allocations: 4 kB / 3.076 GB, free: 3.398 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.731, allocations: 7.891 kB / 3.076 GB, free: 3.391 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/2.731, allocations: 92.83 kB / 3.076 GB, free: 3.297 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/2.735, allocations: 0.5734 MB / 3.076 GB, free: 2.723 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/2.736, allocations: 1.465 MB / 3.078 GB, free: 1.137 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/2.739, allocations: 306.6 kB / 3.078 GB, free: 0.8359 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/2.739, allocations: 83.91 kB / 3.078 GB, free: 0.7539 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003236/2.739, allocations: 132.6 kB / 3.078 GB, free: 0.6172 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/2.74, allocations: 134.4 kB / 3.078 GB, free: 496 kB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.258/2.998, allocations: 2.928 MB / 3.081 GB, free: 0.4988 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/2.998, allocations: 20.88 kB / 3.081 GB, free: 0.4988 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.998, allocations: 3.469 kB / 3.081 GB, free: 0.4988 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/2.998, allocations: 10.89 kB / 3.081 GB, free: 0.4988 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006885/3.005, allocations: 4.896 MB / 3.086 GB, free: 0.4985 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/3.005, allocations: 6.656 kB / 3.086 GB, free: 0.4985 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/3.008, allocations: 0.5564 MB / 3.087 GB, free: 0.4985 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/3.008, allocations: 94.09 kB / 3.087 GB, free: 0.4984 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/3.009, allocations: 47.83 kB / 3.087 GB, free: 0.4984 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/3.01, allocations: 1.482 MB / 3.088 GB, free: 0.4973 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/3.01, allocations: 0 / 3.088 GB, free: 0.4973 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003956/3.014, allocations: 2.428 MB / 3.091 GB, free: 0.4971 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/3.015, allocations: 0.5248 MB / 3.091 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/3.015, allocations: 2.75 kB / 3.091 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/3.017, allocations: 252.5 kB / 3.091 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/3.018, allocations: 110.4 kB / 3.091 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/3.018, allocations: 84.98 kB / 3.092 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004774/3.018, allocations: 0.5397 MB / 3.092 GB, free: 0.4968 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001327/3.02, allocations: 0.589 MB / 3.093 GB, free: 0.4968 GB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/3.021, allocations: 1.082 MB / 3.094 GB, free: 0.4967 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002722/3.024, allocations: 2.127 MB / 3.096 GB, free: 0.4965 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/3.024, allocations: 3.75 kB / 3.096 GB, free: 0.4965 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/3.025, allocations: 1.25 MB / 3.097 GB, free: 0.4964 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/3.026, allocations: 229.2 kB / 3.097 GB, free: 0.4964 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/3.031, allocations: 2.833 MB / 3.1 GB, free: 0.4959 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/3.033, allocations: 1.643 MB / 3.102 GB, free: 0.4952 GB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/3.033, allocations: 2.562 kB / 3.102 GB, free: 0.4952 GB / 1.151 GB Notification: Performance of Templates: time 0.04044/3.074, allocations: 36.77 MB / 3.137 GB, free: 0.4934 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches