Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.001273/0.001273, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.4/2.4, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.06 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2265, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005527/0.2321, allocations: 4.821 MB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1328/0.3649, allocations: 150.6 MB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006313/0.3656, allocations: 15.88 kB / 1.215 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.3662, allocations: 194.2 kB / 1.216 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.3678, allocations: 0.5276 MB / 1.216 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3695, allocations: 0.8403 MB / 1.217 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.3707, allocations: 1.378 MB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000755/0.3715, allocations: 0.5947 MB / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.372, allocations: 474.4 kB / 1.219 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.3726, allocations: 0.5096 MB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.3728, allocations: 116 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.3735, allocations: 459.6 kB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.3738, allocations: 299 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.3743, allocations: 0.5558 MB / 1.221 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3757, allocations: 1.601 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3757, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3757, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.3758, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 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.002331/0.3781, allocations: 1.426 MB / 1.224 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3781, allocations: 12.03 kB / 1.224 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.3783, allocations: 131.4 kB / 1.224 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/0.3791, allocations: 191.4 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.38, allocations: 0.7381 MB / 1.225 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.3801, allocations: 58 kB / 1.225 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.3802, allocations: 84 kB / 1.225 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.3816, allocations: 0.9222 MB / 1.226 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3816, allocations: 0 / 1.226 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.3817, allocations: 36 kB / 1.226 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.3817, allocations: 24 kB / 1.226 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.3833, allocations: 1.104 MB / 1.227 GB, free: 6.082 MB / 0.9825 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.003443/0.3867, allocations: 2.744 MB / 1.23 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3882, allocations: 0.8937 MB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.3887, allocations: 302.7 kB / 1.231 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/0.3887, allocations: 36.59 kB / 1.231 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007607/0.3895, allocations: 0.4912 MB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.853e-06/0.3895, allocations: 0 / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002763/0.3923, allocations: 1.182 MB / 1.233 GB, free: 264 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.3924, allocations: 196.5 kB / 1.233 GB, free: 24 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.393, allocations: 0.6253 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.3931, allocations: 41.7 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.3934, allocations: 396.3 kB / 1.234 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.3935, allocations: 256.3 kB / 1.234 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.3937, allocations: 150.5 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3939, allocations: 394.7 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.3943, allocations: 241.9 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.3949, allocations: 362.6 kB / 1.235 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/0.3959, allocations: 0.5838 MB / 1.236 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3959, allocations: 0 / 1.236 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001671/0.3976, allocations: 0.7981 MB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3976, allocations: 8 kB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3976, allocations: 0 / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.3981, allocations: 88.73 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.3987, allocations: 147.8 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.4005, allocations: 1.641 MB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.4011, allocations: 83.36 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.4012, allocations: 32.05 kB / 1.239 GB, free: 9.984 MB / 0.9981 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.0003043/0.4015, allocations: 277.5 kB / 1.239 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4016, allocations: 79.06 kB / 1.239 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.4038, allocations: 1.061 MB / 1.24 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4038, allocations: 11.94 kB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4038, allocations: 0 / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4038, allocations: 8.016 kB / 1.24 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.4066, allocations: 1.962 MB / 1.242 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4066, allocations: 0 / 1.242 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.4071, allocations: 143.8 kB / 1.242 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.4076, allocations: 80.72 kB / 1.242 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.4076, allocations: 27.92 kB / 1.242 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.4093, allocations: 1.674 MB / 1.244 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4093, allocations: 4.062 kB / 1.244 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4111, allocations: 0.9881 MB / 1.245 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.4114, allocations: 275.7 kB / 1.245 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4115, allocations: 20 kB / 1.245 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.4121, allocations: 55.94 kB / 1.245 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.4123, allocations: 80.89 kB / 1.245 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.4123, allocations: 31.98 kB / 1.245 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004692/0.4128, allocations: 459 kB / 1.246 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4128, allocations: 0 / 1.246 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006602/0.4135, allocations: 311.2 kB / 1.246 GB, free: 2.203 MB / 0.9981 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.003058/0.4165, allocations: 2.041 MB / 1.248 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3521/0.7686, allocations: 0.9916 MB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7687, allocations: 1 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.7696, allocations: 0.5116 MB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.7709, allocations: 301.9 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008645/0.7796, allocations: 6.406 MB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.7799, allocations: 1.023 MB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000707/0.7806, allocations: 270.4 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.781, allocations: 365.9 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.781, allocations: 0 / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.8244, allocations: 21.35 MB / 1.279 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.93, allocations: 9.031 kB / 1.279 GB, free: 178.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches