Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [: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.22 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.000992/0.000992, allocations: 182.1 kB / 490.8 MB, free: 1.949 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.082/1.082, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0008192/0.0008192, allocations: 88.12 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.43e-06/5.471e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.6176, allocations: 150.7 MB / 1.359 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.6178, allocations: 83.2 kB / 1.359 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.007673/0.6255, allocations: 2.923 MB / 1.362 GB, free: 17.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6255, allocations: 1.031 kB / 1.362 GB, free: 17.27 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002908/0.6258, allocations: 438.8 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.6258, allocations: 8.688 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.6259, allocations: 14.88 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.6261, allocations: 218.3 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.6262, allocations: 0.9062 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.6262, allocations: 6.938 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000124/0.6263, allocations: 72.05 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.6265, allocations: 127.8 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6265, allocations: 4 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6265, allocations: 2.125 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6265, allocations: 1 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.6269, allocations: 374.5 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.627, allocations: 113.2 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.6271, allocations: 89.3 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.6271, allocations: 1.312 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.6272, allocations: 162.2 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.6272, allocations: 3.938 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003093/0.6276, allocations: 202.7 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.6276, allocations: 106.3 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.6277, allocations: 182.6 kB / 1.364 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.6277, allocations: 27.14 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.6278, allocations: 97.42 kB / 1.364 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.6278, allocations: 27.64 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/0.6278, allocations: 0.8438 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.6279, allocations: 323.4 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.628, allocations: 73.73 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/0.6281, allocations: 82.81 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.6282, allocations: 72.28 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6282, allocations: 3.938 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002485/0.6285, allocations: 190.9 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.6285, allocations: 7.906 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6285, allocations: 0 / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.6285, allocations: 5.406 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.6286, allocations: 11.38 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6286, allocations: 1.5 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.6287, allocations: 7.281 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.6287, allocations: 11.16 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.6288, allocations: 137 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.6288, allocations: 16.28 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.6289, allocations: 71.11 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6289, allocations: 1.531 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.629, allocations: 3.906 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.629, allocations: 1.062 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.6291, allocations: 195.5 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6291, allocations: 5.125 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.6291, allocations: 8.656 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6291, allocations: 1.656 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.6292, allocations: 12.36 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6292, allocations: 1.562 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6292, allocations: 8.062 kB / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002752/0.6295, allocations: 256.9 kB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.6296, allocations: 121.2 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.6296, allocations: 3.828 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.6297, allocations: 4.578 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.6297, allocations: 12.11 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.6298, allocations: 11.91 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.51e-05/0.6299, allocations: 152.4 kB / 1.366 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002177/0.6301, allocations: 36.97 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.6302, allocations: 133.6 kB / 1.366 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.6304, allocations: 148.4 kB / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.6304, allocations: 0 / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.6305, allocations: 126.3 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.6307, allocations: 12.42 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.631, allocations: 227.4 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.6312, allocations: 0.7316 MB / 1.367 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.6312, allocations: 0 / 1.367 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.003054/0.6343, allocations: 1.217 MB / 1.368 GB, free: 29.52 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches