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.0009314/0.0009314, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009374/0.0009374, allocations: 169 kB / 23.02 MB, free: 1.551 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.9191/0.9191, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.018/2.018, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.453e-06/1.453e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.775e-05, allocations: 5.906 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002344/0.002371, allocations: 1.666 MB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.003353, allocations: 0.6706 MB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.003428, allocations: 0 / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.003611, allocations: 76.86 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.003896, allocations: 106 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.004262, allocations: 108.1 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.004429, allocations: 129.5 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.004512, allocations: 8 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.004718, allocations: 103.7 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.004865, allocations: 105.2 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.004886, allocations: 4 kB / 0.881 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.00502, allocations: 95.78 kB / 0.8811 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.00508, allocations: 27.92 kB / 0.8812 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.005141, allocations: 37.44 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.005368, allocations: 163.6 kB / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.00537, allocations: 0 / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005371, allocations: 0 / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.005381, allocations: 6.062 kB / 0.8814 GB, free: 3.062 MB / 0.8386 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.0006668/0.006047, allocations: 0.5169 MB / 0.8819 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.00609, allocations: 8.031 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.00626, allocations: 36.77 kB / 0.8819 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.006475, allocations: 160.3 kB / 0.8821 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.006494, allocations: 4.375 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.006514, allocations: 8.375 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.006714, allocations: 135.9 kB / 0.8822 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.006726, allocations: 192 / 0.8822 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006738, allocations: 384 / 0.8822 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.006748, allocations: 7.938 kB / 0.8822 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.006821, allocations: 61.67 kB / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.007265, allocations: 462.5 kB / 0.8827 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.007416, allocations: 115.8 kB / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.007475, allocations: 65.19 kB / 0.8829 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.007497, allocations: 4 kB / 0.8829 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.007676, allocations: 182 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.007677, allocations: 0 / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003319/0.008009, allocations: 266.5 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.008062, allocations: 114.8 kB / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.008214, allocations: 257.6 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.008229, allocations: 25.7 kB / 0.8837 GB, free: 396 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.008299, allocations: 167.1 kB / 0.8839 GB, free: 220 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.008337, allocations: 47.84 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.008386, allocations: 39.36 kB / 0.8839 GB, free: 124 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.008526, allocations: 0.5001 MB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.008585, allocations: 53.92 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.008648, allocations: 81 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.008756, allocations: 134.7 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008759, allocations: 4 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001988/0.008957, allocations: 216.8 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.008989, allocations: 41.69 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.008993, allocations: 0 / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.00901, allocations: 0 / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.0091, allocations: 23.92 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.009106, allocations: 0 / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.00916, allocations: 11.89 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.009171, allocations: 4 kB / 0.885 GB, free: 14.98 MB / 0.8542 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.0001109/0.009282, allocations: 208 kB / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.009308, allocations: 23.84 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.009471, allocations: 103.1 kB / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009474, allocations: 4 kB / 0.8853 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.009478, allocations: 0 / 0.8853 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.009482, allocations: 0 / 0.8853 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.009606, allocations: 180.5 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009608, allocations: 0 / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.009641, allocations: 8 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.009644, allocations: 7.938 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.009655, allocations: 8 kB / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009656, allocations: 0 / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.009658, allocations: 0 / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.009906, allocations: 295.6 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.009953, allocations: 27.88 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.009979, allocations: 7.938 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.01002, allocations: 12 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.01007, allocations: 7.984 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01009, allocations: 7.984 kB / 0.8858 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.275e-05/0.01017, allocations: 176.4 kB / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001855/0.01035, allocations: 47.94 kB / 0.886 GB, free: 13.79 MB / 0.8542 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.0001607/0.01052, allocations: 135.8 kB / 0.8862 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.01073, allocations: 220.3 kB / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01073, allocations: 0 / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.787e-05/0.01082, allocations: 140.7 kB / 0.8865 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.01098, allocations: 22.05 kB / 0.8865 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006655/0.01165, allocations: 343 kB / 0.8869 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.0117, allocations: 83.31 kB / 0.8869 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.01173, allocations: 4.922 kB / 0.8869 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.01176, allocations: 12.5 kB / 0.887 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.01176, allocations: 0 / 0.887 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.003748/0.01551, allocations: 1.761 MB / 0.8887 GB, free: 11 MB / 0.8542 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.351357989013195]