Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.007054/0.007054, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001686/0.001686, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.504/2.504, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 71.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.279, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007528/0.2866, allocations: 4.817 MB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6678/0.9544, allocations: 150.6 MB / 1.318 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.9551, allocations: 14.69 kB / 1.318 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.9557, allocations: 188.2 kB / 1.318 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.9573, allocations: 0.5471 MB / 1.319 GB, free: 9.957 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.9591, allocations: 0.837 MB / 1.319 GB, free: 9.797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.9606, allocations: 1.387 MB / 1.321 GB, free: 9.535 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008071/0.9614, allocations: 0.5889 MB / 1.321 GB, free: 9.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006816/0.9621, allocations: 492.2 kB / 1.322 GB, free: 9.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.9627, allocations: 0.4967 MB / 1.322 GB, free: 9.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.9629, allocations: 121.1 kB / 1.322 GB, free: 9.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000923/0.9638, allocations: 491.5 kB / 1.323 GB, free: 9.117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.9641, allocations: 294.6 kB / 1.323 GB, free: 9.062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.9646, allocations: 0.5578 MB / 1.324 GB, free: 8.789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.9667, allocations: 1.649 MB / 1.325 GB, free: 8.094 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9667, allocations: 1.156 kB / 1.325 GB, free: 8.094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9667, allocations: 0 / 1.325 GB, free: 8.094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.196e-05/0.9667, allocations: 0 / 1.325 GB, free: 8.094 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002596/0.9693, allocations: 1.465 MB / 1.327 GB, free: 7.086 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.9694, allocations: 14.12 kB / 1.327 GB, free: 7.082 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.9695, allocations: 136.8 kB / 1.327 GB, free: 6.988 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/0.9705, allocations: 189.8 kB / 1.327 GB, free: 6.922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.9717, allocations: 0.7623 MB / 1.328 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.9718, allocations: 64.44 kB / 1.328 GB, free: 6.398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.9719, allocations: 77.8 kB / 1.328 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.9735, allocations: 0.9263 MB / 1.329 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.9735, allocations: 5.125 kB / 1.329 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.9736, allocations: 33.56 kB / 1.329 GB, free: 5.914 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.9736, allocations: 20.16 kB / 1.329 GB, free: 5.914 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.9753, allocations: 1.11 MB / 1.33 GB, free: 5.66 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.003991/0.9793, allocations: 2.707 MB / 1.333 GB, free: 4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.9809, allocations: 0.8889 MB / 1.334 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.9814, allocations: 314 kB / 1.334 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.288e-05/0.9815, allocations: 25.52 kB / 1.334 GB, free: 3.465 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007851/0.9823, allocations: 0.4948 MB / 1.334 GB, free: 3.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 3.867e-06/0.9823, allocations: 0 / 1.334 GB, free: 3.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.002938/0.9852, allocations: 1.191 MB / 1.336 GB, free: 2.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.9853, allocations: 193.4 kB / 1.336 GB, free: 2.527 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.9861, allocations: 0.626 MB / 1.336 GB, free: 2.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.9862, allocations: 42.73 kB / 1.336 GB, free: 2.207 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.9865, allocations: 399.1 kB / 1.337 GB, free: 1.895 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.9867, allocations: 274.5 kB / 1.337 GB, free: 1.676 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.9869, allocations: 146.2 kB / 1.337 GB, free: 1.609 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9871, allocations: 393.8 kB / 1.338 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.9875, allocations: 245.6 kB / 1.338 GB, free: 1.172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.9881, allocations: 360.2 kB / 1.338 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.9891, allocations: 0.5783 MB / 1.339 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.9892, allocations: 4 kB / 1.339 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001816/0.991, allocations: 0.8024 MB / 1.339 GB, free: 392 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.991, allocations: 7.188 kB / 1.339 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.991, allocations: 1.188 kB / 1.339 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.9916, allocations: 83.48 kB / 1.34 GB, free: 372 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.9922, allocations: 155 kB / 1.34 GB, free: 352 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.9941, allocations: 1.647 MB / 1.341 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.9948, allocations: 85.84 kB / 1.341 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.9949, allocations: 29.66 kB / 1.341 GB, free: 14.75 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.0004161/0.9953, allocations: 271.4 kB / 1.342 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.9955, allocations: 87.03 kB / 1.342 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.9977, allocations: 1.061 MB / 1.343 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.9977, allocations: 11.56 kB / 1.343 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9977, allocations: 5.219 kB / 1.343 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.9978, allocations: 4.359 kB / 1.343 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/1.001, allocations: 1.961 MB / 1.345 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.001, allocations: 0 / 1.345 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/1.001, allocations: 145.7 kB / 1.345 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/1.002, allocations: 72.59 kB / 1.345 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/1.002, allocations: 26.84 kB / 1.345 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/1.004, allocations: 1.674 MB / 1.347 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.004, allocations: 5.328 kB / 1.347 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/1.006, allocations: 1 MB / 1.348 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/1.006, allocations: 279.1 kB / 1.348 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.006, allocations: 17.72 kB / 1.348 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/1.007, allocations: 65.17 kB / 1.348 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.007, allocations: 69.77 kB / 1.348 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/1.007, allocations: 37.5 kB / 1.348 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006196/1.008, allocations: 455.7 kB / 1.348 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.008, allocations: 0 / 1.348 GB, free: 10.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009992/1.009, allocations: 318 kB / 1.349 GB, free: 10.5 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.003479/1.012, allocations: 2.053 MB / 1.351 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.014, allocations: 0.8017 MB / 1.352 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.014, allocations: 1.469 kB / 1.352 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/1.015, allocations: 0.5091 MB / 1.352 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.016, allocations: 295.4 kB / 1.352 GB, free: 8.652 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009899/1.026, allocations: 6.226 MB / 1.358 GB, free: 5.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/1.027, allocations: 1.016 MB / 1.359 GB, free: 4.648 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008083/1.028, allocations: 262.7 kB / 1.36 GB, free: 4.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/1.028, allocations: 370.2 kB / 1.36 GB, free: 4.227 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/1.028, allocations: 0 / 1.36 GB, free: 4.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04594/1.074, allocations: 21.59 MB / 1.381 GB, free: 8.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.02, allocations: 11.88 kB / 1.381 GB, free: 8.309 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches