Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [: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.726/1.726, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0008392/0.0008392, allocations: 185.2 kB / 490.8 MB, free: 1.93 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.074/1.074, allocations: 221.3 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.0007764/0.0007765, allocations: 99.22 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.959e-06/4.97e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1711, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.349/2.52, allocations: 1.732 GB / 2.943 GB, free: 118.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/2.52, allocations: 83.7 kB / 2.943 GB, free: 118.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1527/2.673, allocations: 80.96 MB / 3.022 GB, free: 43.63 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.746e-05/2.673, allocations: 39.92 kB / 3.022 GB, free: 43.59 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002008/2.675, allocations: 1.305 MB / 3.024 GB, free: 42.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/2.675, allocations: 12.03 kB / 3.024 GB, free: 42.22 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/2.676, allocations: 234.1 kB / 3.024 GB, free: 41.99 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/2.677, allocations: 0.7094 MB / 3.025 GB, free: 41.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/2.677, allocations: 44 kB / 3.025 GB, free: 41.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/2.677, allocations: 75.89 kB / 3.025 GB, free: 41.12 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/2.679, allocations: 1.117 MB / 3.026 GB, free: 40 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/2.68, allocations: 0.938 MB / 3.027 GB, free: 39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/2.68, allocations: 3.938 kB / 3.027 GB, free: 38.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/2.68, allocations: 0 / 3.027 GB, free: 38.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/2.68, allocations: 31.94 kB / 3.027 GB, free: 38.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/2.684, allocations: 2.852 MB / 3.03 GB, free: 36.05 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008052/2.685, allocations: 0.6881 MB / 3.03 GB, free: 35.35 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/2.685, allocations: 254.8 kB / 3.03 GB, free: 35.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.199e-05/2.685, allocations: 36.67 kB / 3.03 GB, free: 35.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/2.686, allocations: 394.1 kB / 3.031 GB, free: 34.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.374e-06/2.686, allocations: 4 kB / 3.031 GB, free: 34.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.001363/2.687, allocations: 0.6754 MB / 3.032 GB, free: 33.97 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/2.687, allocations: 240 kB / 3.032 GB, free: 33.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/2.688, allocations: 0.5544 MB / 3.032 GB, free: 33.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/2.688, allocations: 33.69 kB / 3.032 GB, free: 33.08 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/2.688, allocations: 415.3 kB / 3.033 GB, free: 32.67 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/2.688, allocations: 244.3 kB / 3.033 GB, free: 32.43 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/2.688, allocations: 0 / 3.033 GB, free: 32.43 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/2.688, allocations: 382.8 kB / 3.033 GB, free: 32.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/2.688, allocations: 205.5 kB / 3.034 GB, free: 31.84 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/2.689, allocations: 315.5 kB / 3.034 GB, free: 31.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/2.689, allocations: 260.4 kB / 3.034 GB, free: 31.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/2.689, allocations: 0 / 3.034 GB, free: 31.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001266/2.69, allocations: 0.7093 MB / 3.035 GB, free: 30.53 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/2.69, allocations: 4 kB / 3.035 GB, free: 30.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/2.69, allocations: 0 / 3.035 GB, free: 30.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/2.691, allocations: 84.84 kB / 3.035 GB, free: 30.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/2.691, allocations: 151.9 kB / 3.035 GB, free: 30.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/2.693, allocations: 1.461 MB / 3.036 GB, free: 28.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/2.693, allocations: 71.5 kB / 3.036 GB, free: 28.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/2.693, allocations: 27.98 kB / 3.037 GB, free: 28.61 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0001214/2.694, allocations: 112.9 kB / 3.037 GB, free: 28.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/2.694, allocations: 82.97 kB / 3.037 GB, free: 28.41 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/2.695, allocations: 0.9536 MB / 3.038 GB, free: 27.45 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/2.695, allocations: 8 kB / 3.038 GB, free: 27.44 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/2.695, allocations: 11.84 kB / 3.038 GB, free: 27.43 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/2.695, allocations: 7.984 kB / 3.038 GB, free: 27.42 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000697/2.696, allocations: 0.8412 MB / 3.038 GB, free: 26.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/2.696, allocations: 3.938 kB / 3.038 GB, free: 26.54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/2.697, allocations: 159.8 kB / 3.039 GB, free: 26.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/2.697, allocations: 80.78 kB / 3.039 GB, free: 26.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/2.697, allocations: 15.98 kB / 3.039 GB, free: 26.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/2.699, allocations: 1.473 MB / 3.04 GB, free: 24.68 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/2.699, allocations: 4 kB / 3.04 GB, free: 24.68 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001231/2.7, allocations: 0.7841 MB / 3.041 GB, free: 23.88 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/2.7, allocations: 287.7 kB / 3.041 GB, free: 23.57 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/2.7, allocations: 3.906 kB / 3.041 GB, free: 23.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/2.701, allocations: 63.94 kB / 3.041 GB, free: 23.51 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/2.701, allocations: 44.7 kB / 3.041 GB, free: 23.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/2.701, allocations: 35.98 kB / 3.041 GB, free: 23.43 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003637/2.701, allocations: 451.1 kB / 3.042 GB, free: 23 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007882/2.702, allocations: 378.6 kB / 3.042 GB, free: 22.62 MB / 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001374/2.704, allocations: 1.053 MB / 3.043 GB, free: 21.68 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009478/2.704, allocations: 0.6863 MB / 3.044 GB, free: 20.98 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/2.704, allocations: 3.938 kB / 3.044 GB, free: 20.98 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/2.705, allocations: 472.6 kB / 3.044 GB, free: 20.51 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/2.706, allocations: 216.2 kB / 3.045 GB, free: 20.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/2.709, allocations: 1.549 MB / 3.046 GB, free: 18.71 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/2.71, allocations: 1.215 MB / 3.047 GB, free: 17.47 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/2.71, allocations: 0 / 3.047 GB, free: 17.47 MB / 1.151 GB Notification: Performance of Templates: time 0.02185/2.732, allocations: 17.32 MB / 3.064 GB, free: 280 kB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches