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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 75.88 kB / 1.056 GB, free: 2.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2816, allocations: 160.7 MB / 1.213 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.0032/0.2848, allocations: 1.61 MB / 1.214 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2861, allocations: 0.655 MB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.2862, allocations: 0 / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.2863, allocations: 83.77 kB / 1.215 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.2866, allocations: 103.7 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.287, allocations: 99.75 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.2872, allocations: 127.7 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.2873, allocations: 11.98 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.2875, allocations: 71.8 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2877, allocations: 115.7 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.2877, allocations: 4 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.2878, allocations: 79.88 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.2879, allocations: 39.83 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.288, allocations: 51.67 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2882, allocations: 167.6 kB / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2882, allocations: 0 / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2882, allocations: 4 kB / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2882, allocations: 0 / 1.216 GB, free: 14.22 MB / 0.9669 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.0007086/0.2889, allocations: 488.2 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.289, allocations: 12.03 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.289, allocations: 34.75 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.289, allocations: 16.84 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.2893, allocations: 216 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.2893, allocations: 4.375 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.2894, allocations: 8.375 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.2896, allocations: 127.5 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2896, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2896, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2896, allocations: 4 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2897, allocations: 71.91 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.2902, allocations: 408.9 kB / 1.217 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2904, allocations: 105.1 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2905, allocations: 69.78 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2905, allocations: 0 / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2907, allocations: 178.7 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2907, allocations: 3.938 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005329/0.2913, allocations: 343.5 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.2913, allocations: 106.8 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2916, allocations: 214.6 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.2916, allocations: 29.64 kB / 1.218 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.2916, allocations: 120.1 kB / 1.218 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.2917, allocations: 31.8 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.2917, allocations: 29.7 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2919, allocations: 330.8 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.292, allocations: 67.91 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-05/0.2921, allocations: 73.69 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.2923, allocations: 201.2 kB / 1.219 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2923, allocations: 0 / 1.219 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003874/0.2927, allocations: 275.1 kB / 1.219 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.2927, allocations: 39.72 kB / 1.219 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2927, allocations: 0 / 1.219 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2927, allocations: 0 / 1.219 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.2928, allocations: 12 kB / 1.219 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2928, allocations: 3.984 kB / 1.219 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2929, allocations: 15.98 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.293, allocations: 4 kB / 1.22 GB, free: 10.32 MB / 0.9669 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.0002091/0.2932, allocations: 183.4 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.2932, allocations: 19.91 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.2934, allocations: 103.1 kB / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2934, allocations: 0 / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2934, allocations: 0 / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2934, allocations: 0 / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.2936, allocations: 241.4 kB / 1.22 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2936, allocations: 0 / 1.22 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.2937, allocations: 8.094 kB / 1.22 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2937, allocations: 15.81 kB / 1.22 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2937, allocations: 8 kB / 1.22 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2937, allocations: 0 / 1.22 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2937, allocations: 4 kB / 1.22 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.2941, allocations: 331.5 kB / 1.22 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.2942, allocations: 112.9 kB / 1.22 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.2942, allocations: 4 kB / 1.22 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.2943, allocations: 8.125 kB / 1.221 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2944, allocations: 15.98 kB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.2944, allocations: 11.92 kB / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001485/0.2946, allocations: 160.5 kB / 1.221 GB, free: 9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2946, allocations: 0 / 1.221 GB, free: 9 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002463/0.2948, allocations: 51.86 kB / 1.221 GB, free: 8.949 MB / 0.9669 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.0007926/0.2956, allocations: 0.8985 MB / 1.222 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.2959, allocations: 203.3 kB / 1.222 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2959, allocations: 0 / 1.222 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.2961, allocations: 139.3 kB / 1.222 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.2963, allocations: 8 kB / 1.222 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.2987, allocations: 2.252 MB / 1.224 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.299, allocations: 0.7236 MB / 1.225 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.558e-05/0.2991, allocations: 8 kB / 1.225 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.2991, allocations: 39.42 kB / 1.225 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.2991, allocations: 3.938 kB / 1.225 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.3233, allocations: 3.553 MB / 1.228 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.366, allocations: 4.75 kB / 1.228 GB, free: 1.098 MB / 0.9669 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.997671689838171]