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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005919/0.005919, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001298/0.001298, allocations: 190.1 kB / 16.67 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.89 kB / 1.054 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7479, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003196/0.7511, allocations: 1.618 MB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.7523, allocations: 0.6388 MB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.7525, allocations: 4 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.7526, allocations: 71.81 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.753, allocations: 107.7 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.7534, allocations: 98.34 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.7537, allocations: 131.6 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.7538, allocations: 15.97 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.754, allocations: 75.8 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.7542, allocations: 99.78 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.7542, allocations: 4 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.7544, allocations: 79.92 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.7545, allocations: 39.83 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.501e-05/0.7546, allocations: 55.61 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.7549, allocations: 169.7 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7549, allocations: 0 / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7549, allocations: 0 / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.7549, allocations: 4 kB / 1.21 GB, free: 10.36 MB / 0.9356 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.000846/0.7558, allocations: 480.3 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7558, allocations: 12.03 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.7559, allocations: 34.75 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.7559, allocations: 16.75 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.7563, allocations: 211.9 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.7563, allocations: 4.375 kB / 1.211 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.7563, allocations: 8.312 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.7566, allocations: 139.4 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7566, allocations: 0 / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.7566, allocations: 3.938 kB / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.7566, allocations: 4 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.7568, allocations: 71.91 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.7573, allocations: 408.9 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.7575, allocations: 117.1 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.7576, allocations: 81.78 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.7576, allocations: 0 / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.7579, allocations: 170.8 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.7579, allocations: 4 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005877/0.7585, allocations: 331.2 kB / 1.212 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.7586, allocations: 114.8 kB / 1.212 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.7588, allocations: 216.1 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.7589, allocations: 25.7 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.759, allocations: 116.1 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.759, allocations: 39.45 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.7591, allocations: 33.66 kB / 1.213 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7592, allocations: 334.8 kB / 1.213 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.7593, allocations: 60.22 kB / 1.213 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.7594, allocations: 77.69 kB / 1.213 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.7596, allocations: 189.1 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7596, allocations: 0 / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003207/0.7599, allocations: 271.2 kB / 1.214 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.76, allocations: 45.69 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.76, allocations: 0 / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.76, allocations: 96 / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.7601, allocations: 19.88 kB / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.7602, allocations: 0 / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.7603, allocations: 23.77 kB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.7603, allocations: 4 kB / 1.214 GB, free: 6.438 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.0001526/0.7605, allocations: 181.7 kB / 1.214 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.7605, allocations: 23.81 kB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.7607, allocations: 99 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7607, allocations: 0 / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7607, allocations: 0 / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7608, allocations: 4 kB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.761, allocations: 229.5 kB / 1.214 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.761, allocations: 0 / 1.214 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.761, allocations: 11.98 kB / 1.214 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.761, allocations: 4 kB / 1.214 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.7611, allocations: 4 kB / 1.214 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7611, allocations: 4 kB / 1.214 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7611, allocations: 128 / 1.214 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.7615, allocations: 339.3 kB / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.7616, allocations: 116.7 kB / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.7616, allocations: 4 kB / 1.215 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.7617, allocations: 12 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.7618, allocations: 7.984 kB / 1.215 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.7618, allocations: 7.984 kB / 1.215 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001166/0.7619, allocations: 156.5 kB / 1.215 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7619, allocations: 0 / 1.215 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002594/0.7622, allocations: 51.92 kB / 1.215 GB, free: 5.09 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.0006953/0.7629, allocations: 0.891 MB / 1.216 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.7632, allocations: 243.3 kB / 1.216 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7632, allocations: 0 / 1.216 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.7634, allocations: 171.2 kB / 1.216 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.7636, allocations: 18.03 kB / 1.216 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.7659, allocations: 2.233 MB / 1.219 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.7661, allocations: 0.7275 MB / 1.219 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.7662, allocations: 12.17 kB / 1.219 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.7663, allocations: 43.42 kB / 1.219 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.7663, allocations: 0 / 1.219 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.7873, allocations: 3.591 MB / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/8.16, allocations: 7.938 kB / 1.223 GB, free: 13.13 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > 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