Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") [: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.676/1.676, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.000947/0.000947, allocations: 189.2 kB / 490.8 MB, free: 11.2 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.041/1.041, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.000827, allocations: 98.62 kB / 0.9264 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 5.01e-06/5.09e-06, allocations: 0 / 1.072 GB, free: 15.61 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4709, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.6003, allocations: 156.4 MB / 1.364 GB, free: 35.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.6005, allocations: 84.75 kB / 1.364 GB, free: 35.21 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.04925/0.6497, allocations: 20.54 MB / 1.384 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.6498, allocations: 14.25 kB / 1.384 GB, free: 14.87 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001168/0.6509, allocations: 0.8516 MB / 1.385 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.651, allocations: 8.031 kB / 1.385 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.6511, allocations: 71.16 kB / 1.385 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.6569, allocations: 3.349 MB / 1.389 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.657, allocations: 27.94 kB / 1.389 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.657, allocations: 36 kB / 1.389 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000667/0.6577, allocations: 467.2 kB / 1.389 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.6584, allocations: 0.5577 MB / 1.39 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6584, allocations: 0 / 1.39 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.6585, allocations: 0 / 1.39 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6585, allocations: 16 kB / 1.39 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.661, allocations: 1.866 MB / 1.392 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.6638, allocations: 0.808 MB / 1.392 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.6641, allocations: 251.4 kB / 1.393 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.6642, allocations: 29.2 kB / 1.393 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.6642, allocations: 50.34 kB / 1.393 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 1.753e-06/0.6642, allocations: 3.281 kB / 1.393 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72): time 0.0008643/0.6651, allocations: 0.5123 MB / 1.393 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.6651, allocations: 136.5 kB / 1.393 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.6653, allocations: 267.5 kB / 1.394 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.6654, allocations: 25.7 kB / 1.394 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.6654, allocations: 216.6 kB / 1.394 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6655, allocations: 228.4 kB / 1.394 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.6656, allocations: 0 / 1.394 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.6656, allocations: 350.8 kB / 1.394 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.6658, allocations: 169.3 kB / 1.394 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.6661, allocations: 216.6 kB / 1.395 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.6664, allocations: 207.4 kB / 1.395 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6665, allocations: 0 / 1.395 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000773/0.6672, allocations: 0.5195 MB / 1.395 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.6672, allocations: 8 kB / 1.395 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6673, allocations: 1.938 kB / 1.395 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6673, allocations: 8 kB / 1.395 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.6679, allocations: 135.8 kB / 1.396 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6679, allocations: 4 kB / 1.396 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.6684, allocations: 59.39 kB / 1.396 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.6684, allocations: 31.97 kB / 1.396 GB, free: 3.184 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (proShaLenNor.solAzi.outsidePolarCircle,proShaLenWes.solAzi.outsidePolarCircle,proShaLenSou.solAzi.outsidePolarCircle,proShaLenEas.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.6685, allocations: 112.9 kB / 1.396 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6687, allocations: 51.44 kB / 1.396 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.6701, allocations: 0.8972 MB / 1.397 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6702, allocations: 12 kB / 1.397 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6702, allocations: 0 / 1.397 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.6702, allocations: 7.969 kB / 1.397 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.6708, allocations: 0.6455 MB / 1.397 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6708, allocations: 3.938 kB / 1.397 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/0.6716, allocations: 180.5 kB / 1.397 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6716, allocations: 12 kB / 1.397 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.6716, allocations: 19.92 kB / 1.398 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6716, allocations: 4 kB / 1.398 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6716, allocations: 7.938 kB / 1.398 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009019/0.6725, allocations: 1.043 MB / 1.399 GB, free: 120 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.6728, allocations: 232 kB / 1.399 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.6728, allocations: 0 / 1.399 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.6733, allocations: 11.98 kB / 1.399 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.6734, allocations: 63.8 kB / 1.399 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.6735, allocations: 31.98 kB / 1.399 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0001867/0.6737, allocations: 232.6 kB / 1.399 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005969/0.6743, allocations: 210.2 kB / 1.399 GB, free: 15.33 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004627/0.6747, allocations: 296.3 kB / 1.4 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007016/0.6755, allocations: 0.5215 MB / 1.4 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6755, allocations: 0.75 kB / 1.4 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.6759, allocations: 367.5 kB / 1.4 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.6762, allocations: 29.12 kB / 1.4 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.6777, allocations: 0.8609 MB / 1.401 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.6784, allocations: 1.034 MB / 1.402 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of SimCode: time 1.864e-06/0.6784, allocations: 0.6562 kB / 1.402 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of Templates: time 0.01124/0.6896, allocations: 7.413 MB / 1.41 GB, free: 4.957 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches