Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.000933/0.000933, allocations: 184.2 kB / 487 MB, free: 5.355 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.152/1.152, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008945/0.0008946, allocations: 98.16 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.779e-06/4.799e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.197, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5356/0.7327, allocations: 155.6 MB / 1.357 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.7329, allocations: 80.08 kB / 1.357 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.05288/0.7858, allocations: 20.55 MB / 1.377 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.7859, allocations: 12 kB / 1.377 GB, free: 2.344 MB / 0.8073 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.001465/0.7874, allocations: 0.8438 MB / 1.378 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7874, allocations: 13.03 kB / 1.378 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.7875, allocations: 71.16 kB / 1.378 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/0.795, allocations: 3.351 MB / 1.382 GB, free: 15 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.7951, allocations: 27.98 kB / 1.382 GB, free: 14.97 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.7952, allocations: 36 kB / 1.382 GB, free: 14.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008796/0.7961, allocations: 470.4 kB / 1.382 GB, free: 14.65 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009185/0.797, allocations: 0.5521 MB / 1.383 GB, free: 14.22 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.797, allocations: 0 / 1.383 GB, free: 14.22 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.7971, allocations: 0 / 1.383 GB, free: 14.22 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.7971, allocations: 16 kB / 1.383 GB, free: 14.21 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.8002, allocations: 1.873 MB / 1.384 GB, free: 12.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.8032, allocations: 0.8058 MB / 1.385 GB, free: 12.09 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.8036, allocations: 253.7 kB / 1.385 GB, free: 11.92 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.8036, allocations: 30.16 kB / 1.385 GB, free: 11.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.8036, allocations: 41.94 kB / 1.385 GB, free: 11.85 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 1.953e-06/0.8037, allocations: 0 / 1.385 GB, free: 11.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=72): time 0.0009811/0.8046, allocations: 0.5048 MB / 1.386 GB, free: 11.47 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.8047, allocations: 148.2 kB / 1.386 GB, free: 11.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.805, allocations: 261.8 kB / 1.386 GB, free: 11.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.805, allocations: 25.7 kB / 1.386 GB, free: 11.06 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.8051, allocations: 217.9 kB / 1.387 GB, free: 10.86 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.8053, allocations: 228.2 kB / 1.387 GB, free: 10.66 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.8053, allocations: 3.938 kB / 1.387 GB, free: 10.65 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8054, allocations: 347.9 kB / 1.387 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.8057, allocations: 171.5 kB / 1.387 GB, free: 10.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.806, allocations: 221.1 kB / 1.388 GB, free: 10.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.8064, allocations: 201.1 kB / 1.388 GB, free: 9.949 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8064, allocations: 3.906 kB / 1.388 GB, free: 9.945 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008732/0.8073, allocations: 0.5187 MB / 1.388 GB, free: 9.559 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.8073, allocations: 11.12 kB / 1.388 GB, free: 9.551 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.8073, allocations: 0 / 1.388 GB, free: 9.551 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8073, allocations: 4 kB / 1.388 GB, free: 9.547 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.808, allocations: 138.6 kB / 1.388 GB, free: 9.414 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.808, allocations: 4 kB / 1.388 GB, free: 9.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.8085, allocations: 59.39 kB / 1.388 GB, free: 9.352 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.8086, allocations: 35.03 kB / 1.388 GB, free: 9.324 MB / 0.823 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 0.0001123/0.8087, allocations: 108.9 kB / 1.389 GB, free: 9.211 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.8089, allocations: 55.42 kB / 1.389 GB, free: 9.156 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.8106, allocations: 0.896 MB / 1.39 GB, free: 8.477 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.8106, allocations: 15.94 kB / 1.39 GB, free: 8.461 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8106, allocations: 0 / 1.39 GB, free: 8.461 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.8106, allocations: 3.984 kB / 1.39 GB, free: 8.457 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.8114, allocations: 0.6512 MB / 1.39 GB, free: 7.957 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8114, allocations: 0 / 1.39 GB, free: 7.957 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/0.8122, allocations: 186.6 kB / 1.39 GB, free: 7.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.8122, allocations: 4 kB / 1.39 GB, free: 7.777 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.8122, allocations: 22.92 kB / 1.39 GB, free: 7.762 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.8122, allocations: 7.938 kB / 1.39 GB, free: 7.754 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8122, allocations: 7.906 kB / 1.39 GB, free: 7.746 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001118/0.8134, allocations: 1.038 MB / 1.391 GB, free: 6.852 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.8136, allocations: 232.8 kB / 1.392 GB, free: 6.641 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/0.8137, allocations: 4 kB / 1.392 GB, free: 6.637 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.8142, allocations: 15.89 kB / 1.392 GB, free: 6.621 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.8143, allocations: 58.34 kB / 1.392 GB, free: 6.574 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.8143, allocations: 38.48 kB / 1.392 GB, free: 6.543 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001941/0.8145, allocations: 230.1 kB / 1.392 GB, free: 6.363 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007766/0.8153, allocations: 206.7 kB / 1.392 GB, free: 6.168 MB / 0.823 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.000552/0.8159, allocations: 297.4 kB / 1.392 GB, free: 5.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.8166, allocations: 0.5213 MB / 1.393 GB, free: 5.555 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8166, allocations: 0 / 1.393 GB, free: 5.555 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.817, allocations: 364.6 kB / 1.393 GB, free: 5.297 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.8174, allocations: 27.5 kB / 1.393 GB, free: 5.281 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.819, allocations: 0.8658 MB / 1.394 GB, free: 4.516 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.8197, allocations: 1.034 MB / 1.395 GB, free: 3.473 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/0.8197, allocations: 0 / 1.395 GB, free: 3.473 MB / 0.823 GB Notification: Performance of Templates: time 0.01225/0.832, allocations: 7.409 MB / 1.402 GB, free: 12.14 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches