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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001967/0.001967, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.002153/0.002153, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002005, allocations: 69.17 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.832, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002684/0.8347, allocations: 1.585 MB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.8357, allocations: 0.6496 MB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.8358, allocations: 1.5 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.836, allocations: 76.47 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.8363, allocations: 107.6 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.8366, allocations: 98.88 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.8368, allocations: 138.5 kB / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.8369, allocations: 15.62 kB / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.8371, allocations: 64.89 kB / 1.086 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.8373, allocations: 105.4 kB / 1.086 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.8373, allocations: 7.031 kB / 1.086 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.8375, allocations: 75.86 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.8376, allocations: 34.83 kB / 1.086 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.8377, allocations: 57.48 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.8379, allocations: 158.9 kB / 1.086 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.8379, allocations: 8 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8379, allocations: 0.5625 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.838, allocations: 0 / 1.086 GB, free: 15.77 MB / 0.8419 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.0007562/0.8387, allocations: 479.7 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.8388, allocations: 9.156 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.8388, allocations: 25.75 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.8391, allocations: 215.3 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.8391, allocations: 6.656 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.8391, allocations: 3.719 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.8393, allocations: 129.4 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8394, allocations: 0 / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.8394, allocations: 1.5 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.8394, allocations: 1.219 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.8395, allocations: 74.52 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.84, allocations: 412.1 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.8403, allocations: 119 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.8404, allocations: 80.33 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.8404, allocations: 5.5 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.8407, allocations: 178.6 kB / 1.088 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.8407, allocations: 0 / 1.088 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005584/0.8413, allocations: 332.8 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.8414, allocations: 110.9 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.8416, allocations: 212.5 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.8417, allocations: 30.92 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.8418, allocations: 112.6 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.8418, allocations: 35.7 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.8419, allocations: 34.78 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.8421, allocations: 329.3 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.8422, allocations: 61.5 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.8423, allocations: 76.69 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.8425, allocations: 193.5 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8426, allocations: 0 / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004049/0.843, allocations: 273.6 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.843, allocations: 35.92 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.843, allocations: 1.062 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8431, allocations: 2.062 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.8432, allocations: 16.08 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.8432, allocations: 2.172 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.8433, allocations: 14 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.8433, allocations: 5.688 kB / 1.089 GB, free: 13.12 MB / 0.8419 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.0001962/0.8435, allocations: 184.4 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.8436, allocations: 21.28 kB / 1.09 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.8438, allocations: 98.53 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.8438, allocations: 6.75 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8438, allocations: 1.25 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8438, allocations: 0.6094 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.8441, allocations: 229.8 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8441, allocations: 1.125 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.8442, allocations: 12.97 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8442, allocations: 1.25 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.8442, allocations: 9.359 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.8442, allocations: 5.078 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.8442, allocations: 3.938 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.8447, allocations: 334.1 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.8448, allocations: 106.2 kB / 1.09 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.8448, allocations: 9.828 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.8449, allocations: 5.844 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.845, allocations: 11.5 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.845, allocations: 6.391 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001599/0.8452, allocations: 171.4 kB / 1.091 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8452, allocations: 0 / 1.091 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002795/0.8455, allocations: 50.06 kB / 1.091 GB, free: 12.25 MB / 0.8419 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.0002023/0.8457, allocations: 138.8 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.8461, allocations: 252.1 kB / 1.091 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8461, allocations: 1.375 kB / 1.091 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.8463, allocations: 159.8 kB / 1.091 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.8465, allocations: 20.55 kB / 1.091 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.8472, allocations: 372.3 kB / 1.092 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.8476, allocations: 0.7236 MB / 1.092 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.8476, allocations: 16.38 kB / 1.092 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.8476, allocations: 0 / 1.092 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.004369/0.852, allocations: 1.856 MB / 1.094 GB, free: 10.74 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches