Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.007547/0.007547, allocations: 98.83 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.001822/0.001822, allocations: 193.8 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.324/1.324, 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 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 68.12 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6874, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005985/0.6934, allocations: 4.93 MB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.8454, allocations: 150.6 MB / 1.318 GB, free: 7.602 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008466/0.8463, allocations: 15.94 kB / 1.318 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.8471, allocations: 194.2 kB / 1.318 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.8491, allocations: 0.5602 MB / 1.319 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.8512, allocations: 0.8563 MB / 1.32 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.8529, allocations: 1.429 MB / 1.321 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009197/0.8539, allocations: 0.5897 MB / 1.322 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007241/0.8546, allocations: 0.5022 MB / 1.322 GB, free: 3.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009722/0.8556, allocations: 0.5173 MB / 1.323 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003991/0.856, allocations: 120 kB / 1.323 GB, free: 2.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.8574, allocations: 491.6 kB / 1.323 GB, free: 2.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.8578, allocations: 307 kB / 1.323 GB, free: 2.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.8584, allocations: 0.5674 MB / 1.324 GB, free: 1.441 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.8606, allocations: 1.678 MB / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8606, allocations: 0 / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8606, allocations: 0 / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.8606, allocations: 0 / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002479/0.8631, allocations: 1.504 MB / 1.327 GB, free: 14.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.8631, allocations: 8.922 kB / 1.327 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.8633, allocations: 139.5 kB / 1.327 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/0.8642, allocations: 192 kB / 1.327 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.8652, allocations: 0.7785 MB / 1.328 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.8653, allocations: 70 kB / 1.328 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/0.8654, allocations: 80 kB / 1.328 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.8668, allocations: 0.9495 MB / 1.329 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.8669, allocations: 0 / 1.329 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-05/0.867, allocations: 40 kB / 1.329 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.867, allocations: 20 kB / 1.329 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.8687, allocations: 1.124 MB / 1.33 GB, free: 10.72 MB / 1.061 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.003707/0.8725, allocations: 2.732 MB / 1.333 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.874, allocations: 0.9118 MB / 1.334 GB, free: 6.941 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.8746, allocations: 315.4 kB / 1.334 GB, free: 6.633 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.8747, allocations: 32.67 kB / 1.334 GB, free: 6.598 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008514/0.8755, allocations: 0.5128 MB / 1.335 GB, free: 6.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 2.275e-06/0.8755, allocations: 0 / 1.335 GB, free: 6.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=84): time 0.003152/0.8787, allocations: 1.259 MB / 1.336 GB, free: 4.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.8788, allocations: 188.9 kB / 1.336 GB, free: 4.555 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.8795, allocations: 0.6488 MB / 1.337 GB, free: 3.895 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.8796, allocations: 41.7 kB / 1.337 GB, free: 3.848 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.8799, allocations: 401.1 kB / 1.337 GB, free: 3.449 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.8801, allocations: 293.5 kB / 1.338 GB, free: 3.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.8803, allocations: 150.6 kB / 1.338 GB, free: 3.008 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8805, allocations: 390.7 kB / 1.338 GB, free: 2.617 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.881, allocations: 253.9 kB / 1.338 GB, free: 2.371 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.8816, allocations: 378.4 kB / 1.339 GB, free: 1.973 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.8827, allocations: 0.6047 MB / 1.339 GB, free: 1.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8827, allocations: 0 / 1.339 GB, free: 1.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001864/0.8846, allocations: 0.8258 MB / 1.34 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.8846, allocations: 7.938 kB / 1.34 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8846, allocations: 4 kB / 1.34 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.8852, allocations: 84.86 kB / 1.34 GB, free: 432 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.8859, allocations: 159.7 kB / 1.34 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.8879, allocations: 1.642 MB / 1.342 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/0.8885, allocations: 95.53 kB / 1.342 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.8886, allocations: 31.97 kB / 1.342 GB, free: 14.36 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003504/0.889, allocations: 262.2 kB / 1.342 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.8891, allocations: 95.42 kB / 1.342 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.8916, allocations: 1.128 MB / 1.344 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8916, allocations: 12 kB / 1.344 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.8916, allocations: 4 kB / 1.344 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.8916, allocations: 7.969 kB / 1.344 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.8948, allocations: 2.017 MB / 1.346 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.8948, allocations: 0 / 1.346 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.8955, allocations: 159.7 kB / 1.346 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.8959, allocations: 80.78 kB / 1.346 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.896, allocations: 27.97 kB / 1.346 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.8977, allocations: 1.666 MB / 1.347 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8978, allocations: 4.062 kB / 1.347 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.8998, allocations: 1.049 MB / 1.348 GB, free: 7.598 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.9001, allocations: 284.2 kB / 1.349 GB, free: 7.301 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.9003, allocations: 20 kB / 1.349 GB, free: 7.281 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.901, allocations: 65.89 kB / 1.349 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.9011, allocations: 80.89 kB / 1.349 GB, free: 7.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.39e-05/0.9012, allocations: 39.98 kB / 1.349 GB, free: 7.102 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005373/0.9017, allocations: 467 kB / 1.349 GB, free: 6.652 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.242e-06/0.9018, allocations: 3.938 kB / 1.349 GB, free: 6.648 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008063/0.9026, allocations: 335.1 kB / 1.35 GB, free: 6.32 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003533/0.9061, allocations: 2.104 MB / 1.352 GB, free: 4.367 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.9078, allocations: 0.8234 MB / 1.353 GB, free: 3.531 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9078, allocations: 0 / 1.353 GB, free: 3.531 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.9088, allocations: 0.5472 MB / 1.353 GB, free: 2.973 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.9101, allocations: 318.8 kB / 1.353 GB, free: 2.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.9209, allocations: 6.404 MB / 1.36 GB, free: 12.12 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.9215, allocations: 1.024 MB / 1.361 GB, free: 11.06 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000796/0.9223, allocations: 271 kB / 1.361 GB, free: 10.79 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/0.9229, allocations: 403.3 kB / 1.361 GB, free: 10.4 MB / 1.092 GB Notification: Performance of SimCode: time 6.12e-07/0.9229, allocations: 4 kB / 1.361 GB, free: 10.39 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/0.9722, allocations: 22.24 MB / 1.383 GB, free: 4.395 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.31, allocations: 1.5 kB / 1.383 GB, free: 4.395 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches