Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_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.008093/0.008094, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001748/0.001748, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.299/1.299, 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 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 70.39 kB / 0.9504 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2454, allocations: 140.4 MB / 1.087 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005873/0.2513, allocations: 4.311 MB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1377/0.389, allocations: 150.6 MB / 1.239 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.3897, allocations: 19.88 kB / 1.239 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.3902, allocations: 182.4 kB / 1.239 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.3917, allocations: 0.4952 MB / 1.239 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3934, allocations: 0.8379 MB / 1.24 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.3945, allocations: 1.297 MB / 1.241 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007418/0.3952, allocations: 0.6295 MB / 1.242 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.3957, allocations: 478.4 kB / 1.243 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.3962, allocations: 497.8 kB / 1.243 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3963, allocations: 116 kB / 1.243 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007347/0.3971, allocations: 487.5 kB / 1.244 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.3973, allocations: 291.1 kB / 1.244 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.3977, allocations: 0.548 MB / 1.244 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.3993, allocations: 1.627 MB / 1.246 GB, free: 15.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3993, allocations: 3.984 kB / 1.246 GB, free: 15.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3993, allocations: 0 / 1.246 GB, free: 15.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.3993, allocations: 3.938 kB / 1.246 GB, free: 15.16 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.002173/0.4015, allocations: 1.444 MB / 1.247 GB, free: 13.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4015, allocations: 12.02 kB / 1.247 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.4017, allocations: 131.4 kB / 1.248 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000875/0.4025, allocations: 188.1 kB / 1.248 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4036, allocations: 0.7699 MB / 1.248 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.4037, allocations: 58 kB / 1.248 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4038, allocations: 84 kB / 1.249 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.4052, allocations: 0.9145 MB / 1.249 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4052, allocations: 0 / 1.249 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.4053, allocations: 36 kB / 1.25 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.4053, allocations: 20 kB / 1.25 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.4069, allocations: 1.112 MB / 1.251 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/0.4103, allocations: 2.508 MB / 1.253 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4118, allocations: 0.8932 MB / 1.254 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.4123, allocations: 310.6 kB / 1.254 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.4124, allocations: 28.56 kB / 1.254 GB, free: 6.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007791/0.4132, allocations: 0.4952 MB / 1.255 GB, free: 5.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/0.4132, allocations: 0 / 1.255 GB, free: 5.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.002911/0.4161, allocations: 1.192 MB / 1.256 GB, free: 4.711 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.4162, allocations: 192.6 kB / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.4169, allocations: 0.6254 MB / 1.257 GB, free: 3.848 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.417, allocations: 41.7 kB / 1.257 GB, free: 3.801 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.4172, allocations: 401 kB / 1.257 GB, free: 3.402 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.4174, allocations: 269.7 kB / 1.257 GB, free: 3.137 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.4176, allocations: 146.6 kB / 1.258 GB, free: 2.984 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4178, allocations: 390.7 kB / 1.258 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.4182, allocations: 241.9 kB / 1.258 GB, free: 2.359 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.4188, allocations: 358.5 kB / 1.258 GB, free: 1.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009764/0.4198, allocations: 0.58 MB / 1.259 GB, free: 1.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4198, allocations: 0 / 1.259 GB, free: 1.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001697/0.4215, allocations: 0.8062 MB / 1.26 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4215, allocations: 8 kB / 1.26 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4216, allocations: 0 / 1.26 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/0.4221, allocations: 92.78 kB / 1.26 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.4227, allocations: 143.8 kB / 1.26 GB, free: 340 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4575/0.8802, allocations: 1.639 MB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.881, allocations: 88.27 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.8811, allocations: 33 kB / 1.262 GB, free: 172.3 MB / 1.014 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.0004143/0.8815, allocations: 272.8 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.8817, allocations: 85.55 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.884, allocations: 1.062 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.884, allocations: 9.75 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.884, allocations: 0 / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.8841, allocations: 4.781 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.8872, allocations: 1.957 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8872, allocations: 1.031 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.8878, allocations: 143.5 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.8882, allocations: 72.69 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.8883, allocations: 24.91 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.8898, allocations: 1.677 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8898, allocations: 0.7188 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.8918, allocations: 1.004 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.8921, allocations: 278.5 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.8922, allocations: 25.53 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.8928, allocations: 64.66 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.893, allocations: 66.38 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.8931, allocations: 40.62 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005621/0.8936, allocations: 457.4 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8936, allocations: 0 / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008529/0.8945, allocations: 306.6 kB / 1.269 GB, free: 169 MB / 1.014 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.003174/0.8977, allocations: 2.04 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.8993, allocations: 0.8015 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.8993, allocations: 1.531 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.9003, allocations: 0.5196 MB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.9014, allocations: 283 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.912, allocations: 6.33 MB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.9125, allocations: 1.019 MB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008135/0.9133, allocations: 267.2 kB / 1.28 GB, free: 163.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.9138, allocations: 366.3 kB / 1.28 GB, free: 163 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/0.9138, allocations: 0 / 1.28 GB, free: 163 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.9575, allocations: 21.12 MB / 1.301 GB, free: 156.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.53, allocations: 12.91 kB / 1.301 GB, free: 156.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches