Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.784/1.784, allocations: 387.2 MB / 394.5 MB, free: 13.69 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: 185.3 kB / 487 MB, free: 5.418 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008273/0.0008273, allocations: 88.52 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.48e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 142.3 MB / 1.205 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.55/2.725, allocations: 1.73 GB / 2.936 GB, free: 128.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/2.725, allocations: 91.75 kB / 2.936 GB, free: 128.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1313/2.856, allocations: 68.87 MB / 3.003 GB, free: 59.39 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.915e-05/2.856, allocations: 23.94 kB / 3.003 GB, free: 59.37 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.001568/2.858, allocations: 1.145 MB / 3.004 GB, free: 58.17 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/2.858, allocations: 13.03 kB / 3.004 GB, free: 58.16 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/2.859, allocations: 234.3 kB / 3.004 GB, free: 57.93 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/2.86, allocations: 0.6231 MB / 3.005 GB, free: 57.26 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/2.86, allocations: 32 kB / 3.005 GB, free: 57.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/2.86, allocations: 48 kB / 3.005 GB, free: 57.18 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001207/2.861, allocations: 1.023 MB / 3.006 GB, free: 56.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009919/2.862, allocations: 0.7771 MB / 3.007 GB, free: 55.35 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/2.862, allocations: 0 / 3.007 GB, free: 55.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/2.862, allocations: 3.938 kB / 3.007 GB, free: 55.34 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/2.862, allocations: 27.91 kB / 3.007 GB, free: 55.32 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/2.865, allocations: 2.355 MB / 3.009 GB, free: 52.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/2.867, allocations: 0.787 MB / 3.01 GB, free: 52.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/2.867, allocations: 250.7 kB / 3.01 GB, free: 51.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/2.867, allocations: 32.69 kB / 3.01 GB, free: 51.81 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/2.868, allocations: 382 kB / 3.01 GB, free: 51.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.623e-06/2.868, allocations: 0 / 3.01 GB, free: 51.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001344/2.869, allocations: 0.6366 MB / 3.011 GB, free: 50.77 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/2.869, allocations: 240 kB / 3.011 GB, free: 50.48 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/2.869, allocations: 0.4944 MB / 3.012 GB, free: 49.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/2.87, allocations: 25.7 kB / 3.012 GB, free: 49.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/2.87, allocations: 327.9 kB / 3.012 GB, free: 49.62 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/2.87, allocations: 232.5 kB / 3.012 GB, free: 49.39 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/2.87, allocations: 0 / 3.012 GB, free: 49.39 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001028/2.87, allocations: 378.7 kB / 3.013 GB, free: 49.01 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/2.87, allocations: 189.3 kB / 3.013 GB, free: 48.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/2.871, allocations: 294.4 kB / 3.013 GB, free: 48.51 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/2.871, allocations: 235.1 kB / 3.013 GB, free: 48.28 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/2.871, allocations: 0 / 3.013 GB, free: 48.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001241/2.872, allocations: 0.6521 MB / 3.014 GB, free: 47.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/2.872, allocations: 7.984 kB / 3.014 GB, free: 47.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/2.872, allocations: 0 / 3.014 GB, free: 47.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/2.873, allocations: 80.84 kB / 3.014 GB, free: 47.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/2.873, allocations: 151.7 kB / 3.014 GB, free: 47.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/2.875, allocations: 1.445 MB / 3.016 GB, free: 45.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/2.875, allocations: 71.59 kB / 3.016 GB, free: 45.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/2.875, allocations: 27.98 kB / 3.016 GB, free: 45.71 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.0001246/2.876, allocations: 116.9 kB / 3.016 GB, free: 45.59 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/2.876, allocations: 71.06 kB / 3.016 GB, free: 45.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/2.877, allocations: 0.9205 MB / 3.017 GB, free: 44.59 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.877, allocations: 11.98 kB / 3.017 GB, free: 44.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/2.877, allocations: 3.984 kB / 3.017 GB, free: 44.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/2.877, allocations: 3.984 kB / 3.017 GB, free: 44.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/2.88, allocations: 1.705 MB / 3.019 GB, free: 42.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/2.88, allocations: 0 / 3.019 GB, free: 42.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/2.88, allocations: 151.8 kB / 3.019 GB, free: 42.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/2.881, allocations: 80.78 kB / 3.019 GB, free: 42.59 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/2.881, allocations: 15.98 kB / 3.019 GB, free: 42.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/2.882, allocations: 1.476 MB / 3.02 GB, free: 40.97 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.882, allocations: 4 kB / 3.02 GB, free: 40.97 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001196/2.883, allocations: 0.8167 MB / 3.021 GB, free: 40.13 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/2.884, allocations: 275.8 kB / 3.021 GB, free: 39.84 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/2.884, allocations: 7.984 kB / 3.021 GB, free: 39.83 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/2.884, allocations: 55.95 kB / 3.021 GB, free: 39.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/2.884, allocations: 52.69 kB / 3.021 GB, free: 39.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/2.884, allocations: 27.98 kB / 3.021 GB, free: 39.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003258/2.885, allocations: 406.9 kB / 3.022 GB, free: 39.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008399/2.886, allocations: 342.9 kB / 3.022 GB, free: 38.97 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.001309/2.887, allocations: 1.067 MB / 3.023 GB, free: 38 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008957/2.888, allocations: 0.639 MB / 3.024 GB, free: 37.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/2.888, allocations: 4.125 kB / 3.024 GB, free: 37.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/2.888, allocations: 448.5 kB / 3.024 GB, free: 36.91 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/2.889, allocations: 211.4 kB / 3.024 GB, free: 36.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/2.892, allocations: 1.378 MB / 3.026 GB, free: 35.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/2.893, allocations: 1.138 MB / 3.027 GB, free: 34.12 MB / 1.151 GB Notification: Performance of SimCode: time 3.1e-07/2.893, allocations: 4 kB / 3.027 GB, free: 34.12 MB / 1.151 GB Notification: Performance of Templates: time 0.02065/2.913, allocations: 16.87 MB / 3.043 GB, free: 17.38 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches