Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.007256/0.007256, allocations: 98.64 kB / 15.73 MB, free: 6.449 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.001715/0.001715, allocations: 197.5 kB / 16.68 MB, free: 6.348 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.51/2.51, allocations: 437.1 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2544, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006118/0.2606, allocations: 4.795 MB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7123/0.973, allocations: 150.6 MB / 1.318 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.9737, allocations: 15.97 kB / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.9742, allocations: 189.5 kB / 1.318 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.9758, allocations: 0.5399 MB / 1.319 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.9777, allocations: 0.8272 MB / 1.319 GB, free: 9.906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.9791, allocations: 1.363 MB / 1.321 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.9799, allocations: 0.5733 MB / 1.321 GB, free: 9.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006154/0.9805, allocations: 490.2 kB / 1.322 GB, free: 9.398 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.9811, allocations: 496 kB / 1.322 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.9812, allocations: 113.5 kB / 1.322 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008986/0.9821, allocations: 490 kB / 1.323 GB, free: 9.242 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.9824, allocations: 291.5 kB / 1.323 GB, free: 9.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.9829, allocations: 0.5477 MB / 1.324 GB, free: 8.961 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.9848, allocations: 1.615 MB / 1.325 GB, free: 8.281 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9848, allocations: 4 kB / 1.325 GB, free: 8.277 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9848, allocations: 0.9062 kB / 1.325 GB, free: 8.277 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.9848, allocations: 0 / 1.325 GB, free: 8.277 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002497/0.9873, allocations: 1.455 MB / 1.327 GB, free: 7.273 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.9874, allocations: 9.25 kB / 1.327 GB, free: 7.273 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.9875, allocations: 132.5 kB / 1.327 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.9884, allocations: 190.5 kB / 1.327 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.9897, allocations: 0.7646 MB / 1.328 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.9898, allocations: 64.38 kB / 1.328 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.9899, allocations: 77.58 kB / 1.328 GB, free: 6.566 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.9915, allocations: 0.9061 MB / 1.329 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.9915, allocations: 5.062 kB / 1.329 GB, free: 6.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.9916, allocations: 36.7 kB / 1.329 GB, free: 6.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.9916, allocations: 24.77 kB / 1.329 GB, free: 6.105 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.9934, allocations: 1.102 MB / 1.33 GB, free: 5.855 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.9973, allocations: 2.646 MB / 1.332 GB, free: 4.234 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.9988, allocations: 0.8687 MB / 1.333 GB, free: 3.836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.9993, allocations: 299.3 kB / 1.334 GB, free: 3.723 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/0.9994, allocations: 34.23 kB / 1.334 GB, free: 3.711 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008298/1, allocations: 496.7 kB / 1.334 GB, free: 3.504 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.625e-06/1, allocations: 0 / 1.334 GB, free: 3.504 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003123/1.003, allocations: 1.188 MB / 1.335 GB, free: 3.004 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/1.004, allocations: 189.6 kB / 1.335 GB, free: 2.785 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/1.004, allocations: 0.6196 MB / 1.336 GB, free: 2.512 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/1.004, allocations: 39.17 kB / 1.336 GB, free: 2.473 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/1.005, allocations: 401.1 kB / 1.336 GB, free: 2.156 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/1.005, allocations: 269.6 kB / 1.337 GB, free: 1.945 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/1.005, allocations: 142.4 kB / 1.337 GB, free: 1.879 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.005, allocations: 394 kB / 1.337 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/1.006, allocations: 241.5 kB / 1.337 GB, free: 1.441 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/1.007, allocations: 353.8 kB / 1.338 GB, free: 1.262 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.008, allocations: 0.5753 MB / 1.338 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.008, allocations: 3.75 kB / 1.338 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001879/1.009, allocations: 0.7917 MB / 1.339 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.009, allocations: 5.281 kB / 1.339 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.01, allocations: 5.406 kB / 1.339 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/1.01, allocations: 78.77 kB / 1.339 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/1.011, allocations: 161 kB / 1.339 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/1.013, allocations: 1.629 MB / 1.341 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/1.013, allocations: 91.52 kB / 1.341 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/1.013, allocations: 31.52 kB / 1.341 GB, free: 15.04 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004792/1.014, allocations: 259.9 kB / 1.341 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/1.014, allocations: 91.92 kB / 1.341 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.016, allocations: 1.048 MB / 1.342 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.016, allocations: 12.62 kB / 1.342 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.016, allocations: 1.156 kB / 1.342 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.016, allocations: 4.734 kB / 1.342 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.02, allocations: 1.911 MB / 1.344 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.02, allocations: 3.938 kB / 1.344 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/1.02, allocations: 142 kB / 1.344 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/1.021, allocations: 71.03 kB / 1.345 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/1.021, allocations: 24.53 kB / 1.345 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.023, allocations: 1.667 MB / 1.346 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.023, allocations: 3.938 kB / 1.346 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/1.025, allocations: 0.983 MB / 1.347 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/1.025, allocations: 276.3 kB / 1.347 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.025, allocations: 25.66 kB / 1.347 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/1.026, allocations: 62.03 kB / 1.348 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.026, allocations: 73.41 kB / 1.348 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/1.026, allocations: 34.64 kB / 1.348 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005906/1.027, allocations: 453.7 kB / 1.348 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 1.219 kB / 1.348 GB, free: 10.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001012/1.028, allocations: 316.3 kB / 1.348 GB, free: 10.84 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003497/1.031, allocations: 2.038 MB / 1.35 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.033, allocations: 0.7878 MB / 1.351 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.033, allocations: 1.25 kB / 1.351 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009334/1.034, allocations: 0.5145 MB / 1.352 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.035, allocations: 304.9 kB / 1.352 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/1.045, allocations: 6.166 MB / 1.358 GB, free: 5.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/1.046, allocations: 1.015 MB / 1.359 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008514/1.047, allocations: 257.8 kB / 1.359 GB, free: 4.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/1.047, allocations: 387.1 kB / 1.36 GB, free: 4.656 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/1.047, allocations: 0 / 1.36 GB, free: 4.656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/1.095, allocations: 21.32 MB / 1.38 GB, free: 9.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.46, allocations: 8 kB / 1.38 GB, free: 9.188 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches