Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_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.008185/0.008185, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001846/0.001846, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 67.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7884, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006235/0.7947, allocations: 4.406 MB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.9635, allocations: 150.6 MB / 1.239 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.9647, allocations: 20.06 kB / 1.239 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007199/0.9655, allocations: 184.8 kB / 1.239 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.9678, allocations: 0.5158 MB / 1.24 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.9701, allocations: 0.8435 MB / 1.24 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.9717, allocations: 1.356 MB / 1.242 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008584/0.9725, allocations: 0.6168 MB / 1.242 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007039/0.9732, allocations: 0.4964 MB / 1.243 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.9738, allocations: 0.5043 MB / 1.243 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.974, allocations: 118.8 kB / 1.243 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.975, allocations: 489.9 kB / 1.244 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.9753, allocations: 306.7 kB / 1.244 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.9757, allocations: 0.5484 MB / 1.245 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.9775, allocations: 1.636 MB / 1.246 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9775, allocations: 0 / 1.246 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9775, allocations: 4 kB / 1.246 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.9776, allocations: 0 / 1.246 GB, free: 11.19 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002443/0.98, allocations: 1.459 MB / 1.248 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.9801, allocations: 8.031 kB / 1.248 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.9802, allocations: 139.5 kB / 1.248 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.9811, allocations: 191.4 kB / 1.248 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.9822, allocations: 0.7778 MB / 1.249 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.9822, allocations: 66 kB / 1.249 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.9823, allocations: 80 kB / 1.249 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.9838, allocations: 0.9418 MB / 1.25 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.9838, allocations: 0 / 1.25 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.9839, allocations: 39.98 kB / 1.25 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.9839, allocations: 24 kB / 1.25 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.9856, allocations: 1.12 MB / 1.251 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.9891, allocations: 2.523 MB / 1.253 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.9907, allocations: 0.9083 MB / 1.254 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005081/0.9912, allocations: 306.7 kB / 1.255 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.9913, allocations: 40.61 kB / 1.255 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008253/0.9921, allocations: 0.5081 MB / 1.255 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.344e-06/0.9921, allocations: 0 / 1.255 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003008/0.9951, allocations: 1.247 MB / 1.256 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.9952, allocations: 192.9 kB / 1.257 GB, free: 316 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.9959, allocations: 0.6411 MB / 1.257 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.996, allocations: 41.7 kB / 1.257 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.9963, allocations: 396.4 kB / 1.258 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.9965, allocations: 276 kB / 1.258 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.9967, allocations: 154.5 kB / 1.258 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9968, allocations: 398.7 kB / 1.258 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.9973, allocations: 253.9 kB / 1.259 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.9979, allocations: 366.5 kB / 1.259 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.999, allocations: 0.5969 MB / 1.26 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.999, allocations: 0 / 1.26 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001797/1.001, allocations: 0.8292 MB / 1.26 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.001, allocations: 11.94 kB / 1.26 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.001, allocations: 0 / 1.26 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/1.001, allocations: 80.86 kB / 1.26 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/1.002, allocations: 159.7 kB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/1.004, allocations: 1.627 MB / 1.262 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/1.005, allocations: 91.39 kB / 1.262 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/1.005, allocations: 31.97 kB / 1.262 GB, free: 10.17 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: 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.0004252/1.005, allocations: 261.6 kB / 1.263 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/1.005, allocations: 86.97 kB / 1.263 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/1.008, allocations: 1.147 MB / 1.264 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.008, allocations: 12 kB / 1.264 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.008, allocations: 0 / 1.264 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.008, allocations: 3.984 kB / 1.264 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/1.012, allocations: 2.026 MB / 1.266 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.012, allocations: 0 / 1.266 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/1.013, allocations: 159.7 kB / 1.266 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/1.013, allocations: 76.78 kB / 1.266 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/1.013, allocations: 23.98 kB / 1.266 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.015, allocations: 1.662 MB / 1.268 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.015, allocations: 0 / 1.268 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/1.017, allocations: 1.041 MB / 1.269 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/1.018, allocations: 287.6 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.018, allocations: 20 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/1.018, allocations: 74.8 kB / 1.269 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.019, allocations: 76.89 kB / 1.269 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/1.019, allocations: 35.98 kB / 1.269 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006187/1.019, allocations: 471 kB / 1.27 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.019, allocations: 0 / 1.27 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009337/1.02, allocations: 315.2 kB / 1.27 GB, free: 2.156 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: 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.003466/1.024, allocations: 2.108 MB / 1.272 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.025, allocations: 0.8314 MB / 1.273 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.025, allocations: 0 / 1.273 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009076/1.026, allocations: 0.5393 MB / 1.273 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.028, allocations: 300.3 kB / 1.274 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.038, allocations: 6.476 MB / 1.28 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/1.039, allocations: 1.028 MB / 1.281 GB, free: 6.848 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008148/1.04, allocations: 282.8 kB / 1.281 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/1.04, allocations: 407.3 kB / 1.282 GB, free: 6.168 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.04, allocations: 0 / 1.282 GB, free: 6.168 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06303/1.103, allocations: 21.86 MB / 1.303 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.44, allocations: 7.875 kB / 1.303 GB, free: 0.6367 MB / 1.029 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches