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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009719/0.0009719, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9265/0.9265, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.412/2.412, allocations: 438.8 MB / 0.6827 GB, free: 13.66 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8386 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.845e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.0028/0.002819, allocations: 1.662 MB / 0.8402 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003934, allocations: 0.6659 MB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.003994, allocations: 7.938 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.004152, allocations: 71.77 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.004423, allocations: 111.6 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.004764, allocations: 99.69 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.004954, allocations: 139.6 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.005019, allocations: 4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.005229, allocations: 103.8 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.005387, allocations: 87.83 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.005408, allocations: 8 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.005549, allocations: 83.86 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.005609, allocations: 47.83 kB / 0.8416 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.005661, allocations: 23.92 kB / 0.8416 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.005898, allocations: 171.4 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005899, allocations: 0 / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.0059, allocations: 0 / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.005903, allocations: 0 / 0.8417 GB, free: 11.02 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005034/0.006407, allocations: 397.6 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.006439, allocations: 8.625 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.006586, allocations: 20.91 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.006751, allocations: 153.2 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.006768, allocations: 12.36 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.006786, allocations: 4.375 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.006945, allocations: 129.1 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.006952, allocations: 4.125 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.006964, allocations: 4.375 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006972, allocations: 7.938 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.007035, allocations: 52.52 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.007361, allocations: 267.1 kB / 0.8428 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.007494, allocations: 130.8 kB / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.007683, allocations: 67.69 kB / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.007697, allocations: 4 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.007862, allocations: 159.3 kB / 0.8431 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.007864, allocations: 0 / 0.8431 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0002344/0.008098, allocations: 205.4 kB / 0.8433 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.00815, allocations: 118.8 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.008284, allocations: 181.1 kB / 0.8436 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.008301, allocations: 29.64 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.008348, allocations: 104.3 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.008385, allocations: 35.72 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.008439, allocations: 33.69 kB / 0.8438 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.008532, allocations: 330.8 kB / 0.8441 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.008582, allocations: 52.52 kB / 0.8441 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.008638, allocations: 61.44 kB / 0.8442 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.008746, allocations: 124 kB / 0.8443 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008749, allocations: 8 kB / 0.8443 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001666/0.008915, allocations: 159.8 kB / 0.8445 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.008951, allocations: 45.62 kB / 0.8445 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.008955, allocations: 0 / 0.8445 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.008967, allocations: 0 / 0.8445 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.00905, allocations: 19.92 kB / 0.8445 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.009053, allocations: 4 kB / 0.8445 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.009125, allocations: 15.83 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.009139, allocations: 8 kB / 0.8446 GB, free: 7.801 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.009246, allocations: 158.3 kB / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.009275, allocations: 15.98 kB / 0.8447 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.009401, allocations: 87.08 kB / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.009403, allocations: 0 / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.009405, allocations: 0 / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009408, allocations: 0 / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.009528, allocations: 101.8 kB / 0.8449 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.009531, allocations: 4 kB / 0.8449 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.009571, allocations: 12 kB / 0.8449 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009573, allocations: 0 / 0.8449 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.009585, allocations: 11.98 kB / 0.8449 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009587, allocations: 0 / 0.8449 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.009591, allocations: 3.938 kB / 0.8449 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.009777, allocations: 206.9 kB / 0.8451 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.00983, allocations: 23.89 kB / 0.8452 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.009858, allocations: 4 kB / 0.8452 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.776e-05/0.009916, allocations: 11.98 kB / 0.8452 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.009954, allocations: 11.92 kB / 0.8452 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.009969, allocations: 4 kB / 0.8452 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.01003, allocations: 52.86 kB / 0.8452 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01003, allocations: 0 / 0.8452 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002507/0.01028, allocations: 55.92 kB / 0.8453 GB, free: 6.977 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.01044, allocations: 117.7 kB / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.01064, allocations: 195.6 kB / 0.8456 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.01064, allocations: 7.938 kB / 0.8456 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/0.01074, allocations: 125.9 kB / 0.8457 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.01087, allocations: 12 kB / 0.8457 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.01153, allocations: 336.8 kB / 0.8461 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.01159, allocations: 79.31 kB / 0.8461 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.01162, allocations: 8.672 kB / 0.8461 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01173, allocations: 79.36 kB / 0.8462 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01174, allocations: 0 / 0.8462 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of Templates: time 0.004748/0.01648, allocations: 1.865 MB / 0.848 GB, free: 4.09 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.16951266489923]