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.001861/0.001861, allocations: 113 kB / 18.94 MB, free: 2.934 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.001874/0.001874, allocations: 210.5 kB / 22.25 MB, free: 5.086 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.059 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.254/3.254, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.00204/0.00204, allocations: 61.3 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007689/0.3657, allocations: 5.012 MB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1951/0.5607, allocations: 154.2 MB / 1.508 GB, free: 8.688 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.5618, allocations: 23.81 kB / 1.508 GB, free: 8.664 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009467/0.5628, allocations: 198.2 kB / 1.509 GB, free: 8.469 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.5652, allocations: 0.5762 MB / 1.509 GB, free: 7.895 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.5678, allocations: 0.8964 MB / 1.51 GB, free: 7.004 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002439/0.5703, allocations: 1.452 MB / 1.511 GB, free: 5.543 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5714, allocations: 421.9 kB / 1.512 GB, free: 5.105 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.5724, allocations: 0.5256 MB / 1.512 GB, free: 4.578 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.5735, allocations: 0.529 MB / 1.513 GB, free: 4.047 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003782/0.5738, allocations: 120 kB / 1.513 GB, free: 3.93 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.5753, allocations: 0.5113 MB / 1.513 GB, free: 3.418 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.5758, allocations: 307 kB / 1.514 GB, free: 3.117 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009921/0.5768, allocations: 0.5869 MB / 1.514 GB, free: 2.527 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.5799, allocations: 1.72 MB / 1.516 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.58, allocations: 4 kB / 1.516 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.393e-06/0.58, allocations: 0 / 1.516 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.805e-05/0.58, allocations: 0 / 1.516 GB, free: 0.7969 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.004023/0.5841, allocations: 1.452 MB / 1.517 GB, free: 15.31 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.5841, allocations: 12.03 kB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.5844, allocations: 139.5 kB / 1.518 GB, free: 15.16 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.5864, allocations: 256 kB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.5882, allocations: 0.7219 MB / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.5883, allocations: 69.94 kB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.5885, allocations: 84 kB / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.5904, allocations: 0.9379 MB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.5905, allocations: 0 / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.5906, allocations: 39.94 kB / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.5906, allocations: 20 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.5927, allocations: 1.124 MB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.5978, allocations: 2.752 MB / 1.523 GB, free: 8.965 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.5996, allocations: 0.7806 MB / 1.524 GB, free: 8.168 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/0.6002, allocations: 290.7 kB / 1.524 GB, free: 7.879 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.6004, allocations: 24.69 kB / 1.524 GB, free: 7.855 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.6014, allocations: 0.5214 MB / 1.525 GB, free: 7.316 MB / 1.217 GB Notification: Performance of pre-optimization done (n=84): time 3.657e-06/0.6014, allocations: 4 kB / 1.525 GB, free: 7.312 MB / 1.217 GB Notification: Performance of matching and sorting (n=84): time 0.003618/0.605, allocations: 1.184 MB / 1.526 GB, free: 6.125 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.6052, allocations: 192.9 kB / 1.526 GB, free: 5.895 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.6063, allocations: 0.6646 MB / 1.527 GB, free: 5.223 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6064, allocations: 45.69 kB / 1.527 GB, free: 5.172 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.6069, allocations: 413.1 kB / 1.527 GB, free: 4.762 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.6072, allocations: 281.6 kB / 1.528 GB, free: 4.484 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.6074, allocations: 154.6 kB / 1.528 GB, free: 4.324 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.6077, allocations: 390.7 kB / 1.528 GB, free: 3.934 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.6083, allocations: 261.9 kB / 1.528 GB, free: 3.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.609, allocations: 370.5 kB / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.6102, allocations: 0.5969 MB / 1.529 GB, free: 2.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/0.6102, allocations: 4 kB / 1.529 GB, free: 2.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002233/0.6125, allocations: 0.8335 MB / 1.53 GB, free: 1.836 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.6125, allocations: 7.938 kB / 1.53 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.6125, allocations: 0 / 1.53 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.6132, allocations: 84.86 kB / 1.53 GB, free: 1.742 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.6139, allocations: 163.7 kB / 1.53 GB, free: 1.582 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.6164, allocations: 1.523 MB / 1.532 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.6173, allocations: 109.1 kB / 1.532 GB, free: 15.83 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.6174, allocations: 27.98 kB / 1.532 GB, free: 15.8 MB / 1.232 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.0005913/0.618, allocations: 274 kB / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.6182, allocations: 87.44 kB / 1.532 GB, free: 15.44 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.6211, allocations: 1.14 MB / 1.533 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6211, allocations: 8 kB / 1.533 GB, free: 14.28 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.6211, allocations: 11.94 kB / 1.534 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.6211, allocations: 3.984 kB / 1.534 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.6254, allocations: 2.012 MB / 1.535 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6254, allocations: 0 / 1.535 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.626, allocations: 151.8 kB / 1.536 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.6265, allocations: 80.72 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.6266, allocations: 27.98 kB / 1.536 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.6287, allocations: 1.551 MB / 1.537 GB, free: 10.26 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6287, allocations: 4.062 kB / 1.537 GB, free: 10.26 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.6311, allocations: 1.053 MB / 1.538 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005623/0.6317, allocations: 215 kB / 1.538 GB, free: 8.977 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.6319, allocations: 23.98 kB / 1.538 GB, free: 8.953 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.6326, allocations: 63.94 kB / 1.539 GB, free: 8.891 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.6328, allocations: 80.84 kB / 1.539 GB, free: 8.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.6329, allocations: 43.97 kB / 1.539 GB, free: 8.77 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007987/0.6337, allocations: 487 kB / 1.539 GB, free: 8.301 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6337, allocations: 0 / 1.539 GB, free: 8.301 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001106/0.6348, allocations: 323.2 kB / 1.539 GB, free: 7.984 MB / 1.232 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.004794/0.6396, allocations: 2.115 MB / 1.542 GB, free: 6.023 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.6416, allocations: 0.7999 MB / 1.542 GB, free: 5.211 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6416, allocations: 0 / 1.542 GB, free: 5.211 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.6427, allocations: 0.5159 MB / 1.543 GB, free: 4.68 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.6443, allocations: 316.8 kB / 1.543 GB, free: 4.391 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.6573, allocations: 6.47 MB / 1.549 GB, free: 13.77 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/0.6582, allocations: 1.04 MB / 1.55 GB, free: 12.7 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009825/0.6592, allocations: 263.1 kB / 1.551 GB, free: 12.44 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/0.6599, allocations: 419.2 kB / 1.551 GB, free: 12.03 MB / 1.248 GB Notification: Performance of SimCode: time 1.062e-06/0.6599, allocations: 0 / 1.551 GB, free: 12.03 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07289/0.7328, allocations: 23.21 MB / 1.574 GB, free: 5.027 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.08, allocations: 11.98 kB / 1.574 GB, free: 5.016 MB / 1.264 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: 22.128878555027768]