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.007164/0.007164, allocations: 102.2 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.0017/0.001701, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.463/2.463, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.89 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.787, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002894/0.7899, allocations: 1.606 MB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.7912, allocations: 0.6388 MB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.7913, allocations: 4 kB / 1.209 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.7914, allocations: 75.75 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.7918, allocations: 103.7 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.7922, allocations: 95.77 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.7924, allocations: 139.6 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.7925, allocations: 12 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.7927, allocations: 71.86 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.7929, allocations: 111.7 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.7929, allocations: 4 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.7931, allocations: 75.94 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.7931, allocations: 31.84 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.7932, allocations: 59.66 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.7934, allocations: 165.7 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7935, allocations: 0 / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7935, allocations: 0 / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.7935, allocations: 3.938 kB / 1.21 GB, free: 10.32 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.0006861/0.7942, allocations: 484.3 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7942, allocations: 12.03 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.7943, allocations: 34.75 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.7943, allocations: 16.75 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.7946, allocations: 211.9 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.7946, allocations: 8.375 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.7946, allocations: 4.375 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.7949, allocations: 135.5 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7949, allocations: 0 / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.7949, allocations: 3.938 kB / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7949, allocations: 4 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.795, allocations: 67.97 kB / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.7955, allocations: 408.9 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.7957, allocations: 125 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.7958, allocations: 81.78 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.7959, allocations: 0 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.7961, allocations: 182.2 kB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.7961, allocations: 0 / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005069/0.7967, allocations: 335.2 kB / 1.212 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.7967, allocations: 106.8 kB / 1.212 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.7969, allocations: 216.1 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7969, allocations: 25.7 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.797, allocations: 120.1 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.7971, allocations: 39.45 kB / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.7971, allocations: 29.7 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7972, allocations: 334.8 kB / 1.213 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.7973, allocations: 59.97 kB / 1.213 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.7974, allocations: 73.69 kB / 1.213 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.7976, allocations: 197.1 kB / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7977, allocations: 0 / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003169/0.798, allocations: 271.1 kB / 1.214 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.798, allocations: 39.56 kB / 1.214 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.798, allocations: 4 kB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7981, allocations: 0 / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.7982, allocations: 12 kB / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7982, allocations: 0 / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.7983, allocations: 19.83 kB / 1.214 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.7983, allocations: 8 kB / 1.214 GB, free: 6.402 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.0001399/0.7985, allocations: 183.5 kB / 1.214 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.7985, allocations: 15.81 kB / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.7987, allocations: 103.1 kB / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.7987, allocations: 0 / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7987, allocations: 384 / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7988, allocations: 0 / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.799, allocations: 237.5 kB / 1.214 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.799, allocations: 7.984 kB / 1.214 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.799, allocations: 11.94 kB / 1.214 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7991, allocations: 0 / 1.214 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.7991, allocations: 4 kB / 1.214 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.7991, allocations: 4 kB / 1.214 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7991, allocations: 4 kB / 1.214 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.7995, allocations: 331.4 kB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.7996, allocations: 116.7 kB / 1.215 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.7996, allocations: 8 kB / 1.215 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.7997, allocations: 4 kB / 1.215 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.7998, allocations: 19.92 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.7998, allocations: 7.984 kB / 1.215 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001204/0.8, allocations: 156.5 kB / 1.215 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8, allocations: 0 / 1.215 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002638/0.8002, allocations: 47.92 kB / 1.215 GB, free: 5.047 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.0007579/0.801, allocations: 0.8844 MB / 1.216 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.8014, allocations: 243.3 kB / 1.216 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8014, allocations: 0 / 1.216 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.8015, allocations: 175.3 kB / 1.216 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.8018, allocations: 12 kB / 1.216 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.8042, allocations: 2.236 MB / 1.219 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.8045, allocations: 0.7235 MB / 1.219 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.388e-05/0.8046, allocations: 4 kB / 1.219 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.8047, allocations: 47.42 kB / 1.219 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.8047, allocations: 4 kB / 1.219 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.8261, allocations: 3.599 MB / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.555, allocations: 9.016 kB / 1.223 GB, free: 13.09 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