Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [: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.738/1.738, allocations: 387.2 MB / 394.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 174.3 kB / 487 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.136/1.136, allocations: 221.3 MB / 0.7819 GB, free: 6.762 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000857/0.000857, allocations: 114 kB / 0.9213 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 6.483e-06/6.593e-06, allocations: 0 / 1.066 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5688, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.657/3.226, allocations: 1.731 GB / 2.936 GB, free: 355.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/3.226, allocations: 88.55 kB / 2.936 GB, free: 355.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1175/3.344, allocations: 60.21 MB / 2.995 GB, free: 295.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.357e-05/3.344, allocations: 27.98 kB / 2.995 GB, free: 295.3 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00151/3.345, allocations: 1.118 MB / 2.996 GB, free: 294.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/3.345, allocations: 8.031 kB / 2.996 GB, free: 294.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/3.346, allocations: 198.6 kB / 2.996 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/3.347, allocations: 0.623 MB / 2.997 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/3.347, allocations: 24 kB / 2.997 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/3.347, allocations: 48 kB / 2.997 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/3.348, allocations: 1.007 MB / 2.998 GB, free: 292.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/3.349, allocations: 0.7398 MB / 2.999 GB, free: 291.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/3.349, allocations: 0 / 2.999 GB, free: 291.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/3.349, allocations: 4 kB / 2.999 GB, free: 291.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/3.349, allocations: 20 kB / 2.999 GB, free: 291.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/3.352, allocations: 2.473 MB / 3.001 GB, free: 288.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/3.353, allocations: 0.6611 MB / 3.002 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/3.353, allocations: 251.4 kB / 3.002 GB, free: 287.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.444e-05/3.354, allocations: 36.59 kB / 3.002 GB, free: 287.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/3.354, allocations: 382.1 kB / 3.003 GB, free: 287.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.224e-06/3.354, allocations: 96 / 3.003 GB, free: 287.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001326/3.355, allocations: 0.6716 MB / 3.003 GB, free: 286.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/3.355, allocations: 240 kB / 3.003 GB, free: 286.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/3.356, allocations: 0.5068 MB / 3.004 GB, free: 286 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/3.356, allocations: 25.7 kB / 3.004 GB, free: 285.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/3.356, allocations: 296.2 kB / 3.004 GB, free: 285.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/3.356, allocations: 256.2 kB / 3.005 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/3.356, allocations: 0 / 3.005 GB, free: 285.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/3.356, allocations: 374.8 kB / 3.005 GB, free: 285 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/3.357, allocations: 198.3 kB / 3.005 GB, free: 284.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/3.357, allocations: 302.4 kB / 3.005 GB, free: 284.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/3.357, allocations: 255 kB / 3.006 GB, free: 284.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/3.357, allocations: 0 / 3.006 GB, free: 284.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001289/3.358, allocations: 0.6794 MB / 3.006 GB, free: 283.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/3.358, allocations: 8 kB / 3.006 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/3.358, allocations: 4 kB / 3.006 GB, free: 283.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/3.359, allocations: 80.84 kB / 3.006 GB, free: 283.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/3.36, allocations: 147.8 kB / 3.006 GB, free: 283.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/3.361, allocations: 1.461 MB / 3.008 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/3.362, allocations: 64.83 kB / 3.008 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/3.362, allocations: 27.98 kB / 3.008 GB, free: 281.6 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 (80): * Single equations (assignments): 79 * 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.0001256/3.362, allocations: 123.4 kB / 3.008 GB, free: 281.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/3.362, allocations: 75.14 kB / 3.008 GB, free: 281.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/3.364, allocations: 0.951 MB / 3.009 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/3.364, allocations: 12 kB / 3.009 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/3.364, allocations: 0 / 3.009 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/3.364, allocations: 3.984 kB / 3.009 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/3.366, allocations: 1.724 MB / 3.011 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/3.366, allocations: 3.984 kB / 3.011 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/3.367, allocations: 151.8 kB / 3.011 GB, free: 278.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/3.367, allocations: 88.78 kB / 3.011 GB, free: 278.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/3.367, allocations: 19.97 kB / 3.011 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/3.369, allocations: 1.474 MB / 3.013 GB, free: 276.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/3.369, allocations: 0 / 3.013 GB, free: 276.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001245/3.37, allocations: 0.8323 MB / 3.013 GB, free: 276 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/3.37, allocations: 283.8 kB / 3.014 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/3.37, allocations: 0 / 3.014 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/3.371, allocations: 71.78 kB / 3.014 GB, free: 275.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/3.371, allocations: 48.7 kB / 3.014 GB, free: 275.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/3.371, allocations: 35.92 kB / 3.014 GB, free: 275.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003392/3.371, allocations: 420.2 kB / 3.014 GB, free: 275.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008609/3.372, allocations: 327.1 kB / 3.014 GB, free: 274.8 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 (87): * Single equations (assignments): 84 * 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.001297/3.373, allocations: 1.054 MB / 3.015 GB, free: 273.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009229/3.374, allocations: 0.6663 MB / 3.016 GB, free: 273.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/3.374, allocations: 0 / 3.016 GB, free: 273.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/3.375, allocations: 460.6 kB / 3.017 GB, free: 272.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/3.376, allocations: 209.9 kB / 3.017 GB, free: 272.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/3.379, allocations: 1.363 MB / 3.018 GB, free: 271.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/3.379, allocations: 1.139 MB / 3.019 GB, free: 270 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/3.379, allocations: 0 / 3.019 GB, free: 270 MB / 1.151 GB Notification: Performance of Templates: time 0.02128/3.401, allocations: 16.98 MB / 3.036 GB, free: 253.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches