Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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.736/1.736, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009224/0.0009225, allocations: 181.3 kB / 490.8 MB, free: 1.945 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.4 MB / 0.7863 GB, free: 13.73 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.0007786/0.0007786, allocations: 102.9 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.649e-06/4.669e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.354/2.521, allocations: 1.731 GB / 2.943 GB, free: 134.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/2.521, allocations: 90.39 kB / 2.943 GB, free: 134.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1292/2.65, allocations: 68.87 MB / 3.01 GB, free: 65.37 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.893e-05/2.651, allocations: 20 kB / 3.01 GB, free: 65.35 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001642/2.652, allocations: 1.153 MB / 3.011 GB, free: 64.14 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/2.652, allocations: 8.031 kB / 3.011 GB, free: 64.13 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/2.653, allocations: 230.3 kB / 3.011 GB, free: 63.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/2.654, allocations: 0.627 MB / 3.012 GB, free: 63.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/2.654, allocations: 28 kB / 3.012 GB, free: 63.21 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-05/2.654, allocations: 52 kB / 3.012 GB, free: 63.16 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/2.656, allocations: 1.019 MB / 3.013 GB, free: 62.14 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/2.657, allocations: 0.7809 MB / 3.014 GB, free: 61.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/2.657, allocations: 0 / 3.014 GB, free: 61.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/2.657, allocations: 4 kB / 3.014 GB, free: 61.32 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/2.657, allocations: 20 kB / 3.014 GB, free: 61.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/2.66, allocations: 2.356 MB / 3.016 GB, free: 58.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/2.661, allocations: 0.7887 MB / 3.017 GB, free: 58.07 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/2.662, allocations: 238.8 kB / 3.017 GB, free: 57.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/2.662, allocations: 36.67 kB / 3.017 GB, free: 57.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/2.662, allocations: 386 kB / 3.018 GB, free: 57.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.633e-06/2.662, allocations: 0 / 3.018 GB, free: 57.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.00132/2.663, allocations: 0.6326 MB / 3.018 GB, free: 56.76 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/2.663, allocations: 248 kB / 3.018 GB, free: 56.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/2.664, allocations: 0.4944 MB / 3.019 GB, free: 55.96 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/2.664, allocations: 25.7 kB / 3.019 GB, free: 55.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/2.664, allocations: 327.9 kB / 3.019 GB, free: 55.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.664, allocations: 232.5 kB / 3.02 GB, free: 55.37 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/2.664, allocations: 0 / 3.02 GB, free: 55.37 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/2.664, allocations: 374.8 kB / 3.02 GB, free: 55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/2.665, allocations: 189.3 kB / 3.02 GB, free: 54.81 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/2.665, allocations: 290.4 kB / 3.02 GB, free: 54.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/2.665, allocations: 243 kB / 3.021 GB, free: 54.26 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/2.665, allocations: 4 kB / 3.021 GB, free: 54.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001209/2.666, allocations: 0.6404 MB / 3.021 GB, free: 53.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/2.666, allocations: 4 kB / 3.021 GB, free: 53.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/2.666, allocations: 4.062 kB / 3.021 GB, free: 53.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/2.667, allocations: 88.77 kB / 3.021 GB, free: 53.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/2.668, allocations: 143.8 kB / 3.021 GB, free: 53.37 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/2.669, allocations: 1.461 MB / 3.023 GB, free: 51.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/2.669, allocations: 63.61 kB / 3.023 GB, free: 51.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/2.67, allocations: 27.98 kB / 3.023 GB, free: 51.7 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 (75): * Single equations (assignments): 74 * 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.0001196/2.67, allocations: 120.8 kB / 3.023 GB, free: 51.57 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/2.67, allocations: 71.16 kB / 3.023 GB, free: 51.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/2.672, allocations: 0.9128 MB / 3.024 GB, free: 50.57 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/2.672, allocations: 11.91 kB / 3.024 GB, free: 50.56 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/2.672, allocations: 0 / 3.024 GB, free: 50.56 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/2.672, allocations: 3.984 kB / 3.024 GB, free: 50.56 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/2.674, allocations: 1.713 MB / 3.026 GB, free: 48.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/2.674, allocations: 0 / 3.026 GB, free: 48.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/2.674, allocations: 151.8 kB / 3.026 GB, free: 48.65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/2.675, allocations: 80.78 kB / 3.026 GB, free: 48.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/2.675, allocations: 15.98 kB / 3.026 GB, free: 48.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/2.676, allocations: 1.484 MB / 3.027 GB, free: 46.95 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.676, allocations: 3.984 kB / 3.027 GB, free: 46.94 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001203/2.677, allocations: 0.8166 MB / 3.028 GB, free: 46.11 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/2.678, allocations: 275.8 kB / 3.028 GB, free: 45.82 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/2.678, allocations: 3.938 kB / 3.028 GB, free: 45.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/2.678, allocations: 59.94 kB / 3.029 GB, free: 45.76 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/2.678, allocations: 56.7 kB / 3.029 GB, free: 45.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/2.679, allocations: 27.98 kB / 3.029 GB, free: 45.67 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003282/2.679, allocations: 406.9 kB / 3.029 GB, free: 45.28 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007828/2.68, allocations: 342.9 kB / 3.029 GB, free: 44.94 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001353/2.681, allocations: 1.055 MB / 3.03 GB, free: 44 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008882/2.682, allocations: 0.6431 MB / 3.031 GB, free: 43.34 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/2.682, allocations: 4 kB / 3.031 GB, free: 43.34 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/2.682, allocations: 448.5 kB / 3.031 GB, free: 42.89 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008295/2.683, allocations: 211.9 kB / 3.032 GB, free: 42.68 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/2.686, allocations: 1.378 MB / 3.033 GB, free: 41.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006205/2.687, allocations: 1.142 MB / 3.034 GB, free: 40.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.51e-07/2.687, allocations: 0 / 3.034 GB, free: 40.1 MB / 1.151 GB Notification: Performance of Templates: time 0.0209/2.708, allocations: 16.87 MB / 3.051 GB, free: 23.39 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches