Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008145/0.008145, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 194.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.91 kB / 1.019 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3158, allocations: 151.6 MB / 1.167 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003235/0.3191, allocations: 1.595 MB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3205, allocations: 0.6427 MB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3207, allocations: 3.938 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.3208, allocations: 87.81 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.3212, allocations: 99.67 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.3216, allocations: 95.75 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3218, allocations: 131.7 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.322, allocations: 23.97 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3221, allocations: 67.81 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.3223, allocations: 103.7 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3224, allocations: 8 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.3225, allocations: 79.92 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.3226, allocations: 31.89 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.3227, allocations: 55.62 kB / 1.17 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.323, allocations: 171.3 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.323, allocations: 4 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.035e-06/0.323, allocations: 0 / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.323, allocations: 0 / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000743/0.3238, allocations: 484.2 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3238, allocations: 8.031 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.3239, allocations: 16.84 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.3242, allocations: 220 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3242, allocations: 8.359 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3242, allocations: 4.375 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.3245, allocations: 127.6 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3245, allocations: 0 / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3245, allocations: 3.938 kB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3245, allocations: 4 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3247, allocations: 67.97 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.3251, allocations: 408.9 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3253, allocations: 117.1 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3254, allocations: 77.78 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3255, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.3257, allocations: 178.7 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3257, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0005303/0.3263, allocations: 335.3 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.3263, allocations: 106.8 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.3266, allocations: 222.5 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3266, allocations: 29.7 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.3267, allocations: 116.1 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.3267, allocations: 31.73 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.3268, allocations: 33.7 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3269, allocations: 326.8 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.327, allocations: 63.97 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.589e-05/0.3271, allocations: 79.91 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3274, allocations: 197 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3274, allocations: 4 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003589/0.3277, allocations: 275.1 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.3278, allocations: 37.69 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3278, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.3278, allocations: 4 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.328, allocations: 15.98 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.328, allocations: 240 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3281, allocations: 11.94 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3281, allocations: 7.984 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (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 (10): * Single equations (assignments): 9 * 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.0001673/0.3283, allocations: 187.4 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.3283, allocations: 19.91 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.3286, allocations: 103.1 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3286, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3286, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3286, allocations: 4 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.3288, allocations: 229.5 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3288, allocations: 4 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.3289, allocations: 11.94 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3289, allocations: 4 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3289, allocations: 4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3289, allocations: 7.984 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3289, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.3294, allocations: 335.5 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3295, allocations: 116.9 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.3296, allocations: 8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3297, allocations: 7.984 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.3298, allocations: 15.92 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3298, allocations: 4 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001389/0.3299, allocations: 164.2 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3299, allocations: 0 / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002816/0.3302, allocations: 47.94 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002358/0.3305, allocations: 131.2 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.3309, allocations: 243.3 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3309, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3311, allocations: 163.4 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3313, allocations: 12 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.3319, allocations: 368 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3322, allocations: 0.7198 MB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.226e-05/0.3323, allocations: 11.92 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3323, allocations: 11.44 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.3323, allocations: 0 / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.004842/0.3372, allocations: 1.666 MB / 1.178 GB, free: 11.09 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches