Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 95.64 kB / 18.94 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 212.7 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.244/3.244, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 70.19 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3453, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007562/0.3528, allocations: 4.478 MB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.5298, allocations: 132.7 MB / 1.497 GB, free: 4.375 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5308, allocations: 15.88 kB / 1.497 GB, free: 4.359 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008631/0.5317, allocations: 202.2 kB / 1.498 GB, free: 4.16 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.5342, allocations: 0.5762 MB / 1.498 GB, free: 3.586 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.5368, allocations: 0.8729 MB / 1.499 GB, free: 2.719 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.5391, allocations: 1.448 MB / 1.5 GB, free: 1.266 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.5401, allocations: 398 kB / 1.501 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.5411, allocations: 0.5255 MB / 1.501 GB, free: 332 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.5422, allocations: 489.7 kB / 1.502 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003714/0.5426, allocations: 120 kB / 1.502 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.5439, allocations: 495.6 kB / 1.502 GB, free: 15.24 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.5444, allocations: 307 kB / 1.503 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008263/0.5452, allocations: 489.7 kB / 1.503 GB, free: 14.46 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.5482, allocations: 1.732 MB / 1.505 GB, free: 12.72 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5482, allocations: 0 / 1.505 GB, free: 12.72 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5482, allocations: 0 / 1.505 GB, free: 12.72 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.862e-05/0.5482, allocations: 0 / 1.505 GB, free: 12.72 MB / 1.201 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.003612/0.5518, allocations: 1.452 MB / 1.506 GB, free: 11.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5519, allocations: 11.97 kB / 1.506 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.5521, allocations: 139.5 kB / 1.506 GB, free: 11.08 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.5539, allocations: 248 kB / 1.507 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.5556, allocations: 0.7297 MB / 1.507 GB, free: 10.08 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/0.5556, allocations: 69.98 kB / 1.507 GB, free: 10.01 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5558, allocations: 84 kB / 1.507 GB, free: 9.926 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.5579, allocations: 1.193 MB / 1.509 GB, free: 8.633 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.5579, allocations: 0 / 1.509 GB, free: 8.633 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.558, allocations: 36 kB / 1.509 GB, free: 8.598 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.558, allocations: 20 kB / 1.509 GB, free: 8.578 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.5601, allocations: 1.081 MB / 1.51 GB, free: 7.496 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/0.5648, allocations: 2.263 MB / 1.512 GB, free: 5.168 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.5665, allocations: 0.7789 MB / 1.513 GB, free: 4.379 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.5671, allocations: 290.7 kB / 1.513 GB, free: 4.094 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/0.5672, allocations: 20.64 kB / 1.513 GB, free: 4.074 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.5683, allocations: 0.6132 MB / 1.514 GB, free: 3.418 MB / 1.201 GB Notification: Performance of pre-optimization done (n=84): time 2.825e-06/0.5683, allocations: 0 / 1.514 GB, free: 3.418 MB / 1.201 GB Notification: Performance of matching and sorting (n=84): time 0.003784/0.5721, allocations: 1.188 MB / 1.515 GB, free: 2.223 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.5722, allocations: 188.9 kB / 1.515 GB, free: 1.996 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.5734, allocations: 0.6646 MB / 1.516 GB, free: 1.32 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/0.5735, allocations: 49.62 kB / 1.516 GB, free: 1.266 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.5739, allocations: 409.1 kB / 1.516 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.5742, allocations: 293.6 kB / 1.516 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.5745, allocations: 154.6 kB / 1.516 GB, free: 424 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.5747, allocations: 394.7 kB / 1.517 GB, free: 20 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.5753, allocations: 253.9 kB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.5761, allocations: 499 kB / 1.518 GB, free: 15.22 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5773, allocations: 0.6048 MB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5773, allocations: 4 kB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002179/0.5795, allocations: 0.8258 MB / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5795, allocations: 11.94 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5795, allocations: 0 / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.5802, allocations: 84.86 kB / 1.519 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.5808, allocations: 163.7 kB / 1.519 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.5833, allocations: 1.523 MB / 1.521 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.5842, allocations: 91.58 kB / 1.521 GB, free: 11.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.5843, allocations: 31.97 kB / 1.521 GB, free: 11.75 MB / 1.217 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.0005744/0.5848, allocations: 269.6 kB / 1.521 GB, free: 11.47 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.5851, allocations: 99.31 kB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.588, allocations: 1.132 MB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.588, allocations: 8 kB / 1.522 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.588, allocations: 3.984 kB / 1.522 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.588, allocations: 7.984 kB / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.592, allocations: 1.872 MB / 1.524 GB, free: 8.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.592, allocations: 8 kB / 1.524 GB, free: 8.281 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.5926, allocations: 155.7 kB / 1.524 GB, free: 8.129 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.593, allocations: 68.8 kB / 1.524 GB, free: 8.059 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.5931, allocations: 31.97 kB / 1.524 GB, free: 8.027 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.5953, allocations: 1.547 MB / 1.526 GB, free: 6.363 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5953, allocations: 4.031 kB / 1.526 GB, free: 6.359 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.5977, allocations: 1.057 MB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/0.5983, allocations: 211 kB / 1.527 GB, free: 5.074 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.5985, allocations: 27.94 kB / 1.527 GB, free: 5.047 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.5993, allocations: 67.92 kB / 1.527 GB, free: 4.98 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.5995, allocations: 80.84 kB / 1.527 GB, free: 4.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.5996, allocations: 35.98 kB / 1.527 GB, free: 4.867 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001182/0.6008, allocations: 487 kB / 1.528 GB, free: 4.398 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6008, allocations: 0 / 1.528 GB, free: 4.398 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001465/0.6022, allocations: 335.1 kB / 1.528 GB, free: 4.07 MB / 1.217 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.005282/0.6075, allocations: 2.145 MB / 1.53 GB, free: 2.102 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00219/0.6097, allocations: 0.7961 MB / 1.531 GB, free: 1.297 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.6097, allocations: 4 kB / 1.531 GB, free: 1.293 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.6108, allocations: 0.5082 MB / 1.531 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.6125, allocations: 313.2 kB / 1.532 GB, free: 500 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6249, allocations: 6.474 MB / 1.538 GB, free: 9.855 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.6255, allocations: 459.8 kB / 1.539 GB, free: 9.375 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009463/0.6264, allocations: 279 kB / 1.539 GB, free: 9.098 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006514/0.6271, allocations: 411.3 kB / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of SimCode: time 8.12e-07/0.6271, allocations: 0 / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06893/0.696, allocations: 24.22 MB / 1.563 GB, free: 0.793 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.51, allocations: 9.766 kB / 1.563 GB, free: 0.7852 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.603859300725162]