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.01372/0.01372, allocations: 97.25 kB / 15.73 MB, free: 6.035 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.003138/0.003137, allocations: 204.5 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.61/2.61, 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 4.628/4.628, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5927, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.01219/0.6049, allocations: 4.918 MB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.602/2.207, allocations: 150.6 MB / 1.318 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/2.209, allocations: 15.31 kB / 1.318 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/2.211, allocations: 198 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/2.216, allocations: 0.5534 MB / 1.319 GB, free: 9.812 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005068/2.221, allocations: 0.8492 MB / 1.32 GB, free: 9.652 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004059/2.225, allocations: 1.423 MB / 1.321 GB, free: 9.391 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/2.227, allocations: 0.5906 MB / 1.322 GB, free: 9.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/2.229, allocations: 0.494 MB / 1.322 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/2.23, allocations: 0.514 MB / 1.323 GB, free: 9 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004163/2.231, allocations: 121.8 kB / 1.323 GB, free: 8.996 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/2.233, allocations: 497.9 kB / 1.323 GB, free: 8.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005662/2.233, allocations: 302 kB / 1.323 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/2.235, allocations: 0.5674 MB / 1.324 GB, free: 8.609 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005223/2.24, allocations: 1.677 MB / 1.326 GB, free: 7.898 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/2.24, allocations: 1.219 kB / 1.326 GB, free: 7.898 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.025e-06/2.24, allocations: 3.469 kB / 1.326 GB, free: 7.898 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.679e-05/2.24, allocations: 0 / 1.326 GB, free: 7.898 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.006091/2.246, allocations: 1.509 MB / 1.327 GB, free: 6.863 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.06e-05/2.246, allocations: 9.438 kB / 1.327 GB, free: 6.863 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003602/2.247, allocations: 134.5 kB / 1.327 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/2.249, allocations: 188.2 kB / 1.327 GB, free: 6.711 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/2.252, allocations: 0.7881 MB / 1.328 GB, free: 6.195 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/2.252, allocations: 61.67 kB / 1.328 GB, free: 6.168 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/2.252, allocations: 83.56 kB / 1.328 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/2.256, allocations: 0.9446 MB / 1.329 GB, free: 5.711 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/2.256, allocations: 1.312 kB / 1.329 GB, free: 5.711 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/2.256, allocations: 36.28 kB / 1.329 GB, free: 5.684 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/2.256, allocations: 21.69 kB / 1.329 GB, free: 5.684 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/2.26, allocations: 1.125 MB / 1.33 GB, free: 5.422 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.009452/2.27, allocations: 2.736 MB / 1.333 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/2.273, allocations: 0.9055 MB / 1.334 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/2.274, allocations: 316.6 kB / 1.334 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/2.275, allocations: 34.94 kB / 1.334 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/2.276, allocations: 0.5098 MB / 1.335 GB, free: 3.008 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 9.408e-06/2.276, allocations: 0 / 1.335 GB, free: 3.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.006897/2.283, allocations: 1.259 MB / 1.336 GB, free: 2.484 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002567/2.284, allocations: 194.5 kB / 1.336 GB, free: 2.258 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/2.286, allocations: 0.636 MB / 1.337 GB, free: 1.977 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/2.286, allocations: 47.02 kB / 1.337 GB, free: 1.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/2.287, allocations: 409.6 kB / 1.337 GB, free: 1.609 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006814/2.288, allocations: 282 kB / 1.338 GB, free: 1.387 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/2.288, allocations: 156 kB / 1.338 GB, free: 1.316 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003909/2.288, allocations: 394 kB / 1.338 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/2.29, allocations: 259.2 kB / 1.338 GB, free: 0.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/2.291, allocations: 372.4 kB / 1.339 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/2.294, allocations: 0.602 MB / 1.339 GB, free: 416 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/2.294, allocations: 0 / 1.339 GB, free: 416 kB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004189/2.298, allocations: 0.8329 MB / 1.34 GB, free: 68 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/2.298, allocations: 8.812 kB / 1.34 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/2.298, allocations: 2.75 kB / 1.34 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/2.299, allocations: 87.94 kB / 1.34 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/2.3, allocations: 155.2 kB / 1.34 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/2.305, allocations: 1.629 MB / 1.342 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/2.307, allocations: 97.62 kB / 1.342 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/2.307, allocations: 35.91 kB / 1.342 GB, free: 14.44 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.001199/2.308, allocations: 273 kB / 1.342 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/2.309, allocations: 90.58 kB / 1.342 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/2.314, allocations: 1.14 MB / 1.344 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/2.314, allocations: 17.44 kB / 1.344 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/2.314, allocations: 0 / 1.344 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/2.314, allocations: 4.5 kB / 1.344 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007904/2.322, allocations: 2.017 MB / 1.346 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/2.322, allocations: 1.312 kB / 1.346 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/2.323, allocations: 149.4 kB / 1.346 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000812/2.324, allocations: 75.61 kB / 1.346 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/2.324, allocations: 28.08 kB / 1.346 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004172/2.329, allocations: 1.667 MB / 1.347 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/2.329, allocations: 3.938 kB / 1.347 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/2.335, allocations: 1.048 MB / 1.348 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/2.336, allocations: 282.5 kB / 1.349 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/2.336, allocations: 23.02 kB / 1.349 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/2.337, allocations: 72.09 kB / 1.349 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/2.338, allocations: 78.77 kB / 1.349 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/2.338, allocations: 38.86 kB / 1.349 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001524/2.34, allocations: 465.8 kB / 1.349 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.11e-07/2.34, allocations: 0 / 1.349 GB, free: 10.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002184/2.342, allocations: 331.1 kB / 1.35 GB, free: 10.14 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.008792/2.351, allocations: 2.105 MB / 1.352 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004061/2.355, allocations: 0.831 MB / 1.353 GB, free: 8.617 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/2.355, allocations: 5.438 kB / 1.353 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/2.357, allocations: 0.5364 MB / 1.353 GB, free: 8.367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/2.36, allocations: 310.4 kB / 1.353 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/2.384, allocations: 6.414 MB / 1.36 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/2.385, allocations: 1.03 MB / 1.361 GB, free: 3.914 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002244/2.387, allocations: 267.1 kB / 1.361 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/2.389, allocations: 411.6 kB / 1.361 GB, free: 3.453 MB / 1.029 GB Notification: Performance of SimCode: time 1.903e-06/2.389, allocations: 0 / 1.361 GB, free: 3.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/2.545, allocations: 22.25 MB / 1.383 GB, free: 6.324 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/21.11, allocations: 2.344 kB / 1.383 GB, free: 6.324 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