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.004323/0.004323, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001076/0.001076, allocations: 195.7 kB / 16.68 MB, free: 5.934 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.546/2.546, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2523, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006059/0.2584, allocations: 4.918 MB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7292/0.9876, allocations: 150.6 MB / 1.318 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000705/0.9884, allocations: 16.19 kB / 1.318 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.9889, allocations: 195.7 kB / 1.318 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.9905, allocations: 0.5606 MB / 1.319 GB, free: 9.902 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.9924, allocations: 0.8512 MB / 1.32 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.9937, allocations: 1.428 MB / 1.321 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.9945, allocations: 0.5867 MB / 1.322 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.9951, allocations: 0.5041 MB / 1.322 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.9957, allocations: 0.5134 MB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.9959, allocations: 123 kB / 1.323 GB, free: 9.086 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008745/0.9968, allocations: 496.1 kB / 1.323 GB, free: 9.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.9971, allocations: 298 kB / 1.323 GB, free: 8.996 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.9976, allocations: 0.575 MB / 1.324 GB, free: 8.703 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.9996, allocations: 1.677 MB / 1.326 GB, free: 7.992 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9996, allocations: 0 / 1.326 GB, free: 7.992 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9996, allocations: 0 / 1.326 GB, free: 7.992 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.9996, allocations: 1.156 kB / 1.326 GB, free: 7.992 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002715/1.002, allocations: 1.508 MB / 1.327 GB, free: 6.957 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/1.002, allocations: 10.27 kB / 1.327 GB, free: 6.957 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/1.003, allocations: 141.6 kB / 1.327 GB, free: 6.863 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009037/1.003, allocations: 188.4 kB / 1.327 GB, free: 6.801 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/1.005, allocations: 0.78 MB / 1.328 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/1.005, allocations: 69.89 kB / 1.328 GB, free: 6.258 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.005, allocations: 83.97 kB / 1.328 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/1.007, allocations: 0.9382 MB / 1.329 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/1.007, allocations: 0 / 1.329 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/1.007, allocations: 38.92 kB / 1.329 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/1.007, allocations: 21.06 kB / 1.329 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.009, allocations: 1.12 MB / 1.33 GB, free: 5.52 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/1.012, allocations: 2.734 MB / 1.333 GB, free: 3.859 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.014, allocations: 0.9117 MB / 1.334 GB, free: 3.445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/1.015, allocations: 317 kB / 1.334 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/1.015, allocations: 30.84 kB / 1.334 GB, free: 3.316 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/1.016, allocations: 0.516 MB / 1.335 GB, free: 3.102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/1.016, allocations: 0 / 1.335 GB, free: 3.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003225/1.019, allocations: 1.26 MB / 1.336 GB, free: 2.578 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/1.019, allocations: 194.3 kB / 1.336 GB, free: 2.352 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008019/1.02, allocations: 0.6366 MB / 1.337 GB, free: 2.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/1.02, allocations: 46.73 kB / 1.337 GB, free: 2.023 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/1.02, allocations: 403.6 kB / 1.337 GB, free: 1.707 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/1.02, allocations: 288.8 kB / 1.338 GB, free: 1.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.021, allocations: 150.5 kB / 1.338 GB, free: 1.414 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.021, allocations: 394.7 kB / 1.338 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/1.021, allocations: 262.5 kB / 1.338 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/1.022, allocations: 363.9 kB / 1.339 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/1.023, allocations: 0.6099 MB / 1.339 GB, free: 0.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.023, allocations: 0 / 1.339 GB, free: 0.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001917/1.025, allocations: 0.8258 MB / 1.34 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.025, allocations: 5.562 kB / 1.34 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.025, allocations: 5.281 kB / 1.34 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/1.026, allocations: 86.41 kB / 1.34 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/1.026, allocations: 160.8 kB / 1.34 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.028, allocations: 1.637 MB / 1.342 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/1.029, allocations: 97.55 kB / 1.342 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/1.029, allocations: 30.88 kB / 1.342 GB, free: 14.54 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: 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.0003997/1.029, allocations: 273.3 kB / 1.342 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/1.03, allocations: 91.11 kB / 1.342 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/1.032, allocations: 1.138 MB / 1.344 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.032, allocations: 17 kB / 1.344 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.032, allocations: 1.125 kB / 1.344 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.032, allocations: 4.359 kB / 1.344 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/1.036, allocations: 2.019 MB / 1.346 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.036, allocations: 0 / 1.346 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/1.036, allocations: 157 kB / 1.346 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/1.037, allocations: 72.12 kB / 1.346 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/1.037, allocations: 27.62 kB / 1.346 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/1.038, allocations: 1.659 MB / 1.347 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.038, allocations: 3.641 kB / 1.347 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/1.041, allocations: 1.049 MB / 1.348 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/1.041, allocations: 280.1 kB / 1.349 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.041, allocations: 28.39 kB / 1.349 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/1.042, allocations: 66.31 kB / 1.349 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.042, allocations: 82.41 kB / 1.349 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/1.042, allocations: 44.47 kB / 1.349 GB, free: 10.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005963/1.043, allocations: 467.6 kB / 1.349 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.21e-07/1.043, allocations: 1.031 kB / 1.349 GB, free: 10.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009819/1.044, allocations: 327.5 kB / 1.35 GB, free: 10.23 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: 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.003692/1.047, allocations: 2.108 MB / 1.352 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001663/1.049, allocations: 0.8315 MB / 1.353 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.049, allocations: 5.344 kB / 1.353 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009503/1.05, allocations: 0.5358 MB / 1.353 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.051, allocations: 314 kB / 1.353 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.061, allocations: 6.409 MB / 1.36 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/1.062, allocations: 1.03 MB / 1.361 GB, free: 4.008 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007987/1.063, allocations: 270 kB / 1.361 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/1.063, allocations: 407.4 kB / 1.361 GB, free: 3.551 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/1.063, allocations: 0 / 1.361 GB, free: 3.551 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/1.111, allocations: 22.25 MB / 1.383 GB, free: 6.422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.43, allocations: 1.719 kB / 1.383 GB, free: 6.422 MB / 1.045 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