Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001781/0.001781, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002382/0.002382, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.789 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.5107 GB / 0.8158 GB, free: 17.78 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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002143/0.002143, allocations: 73.48 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007858/0.3757, allocations: 4.369 MB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1808/0.5565, allocations: 132.7 MB / 1.497 GB, free: 4.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009764/0.5575, allocations: 23.81 kB / 1.497 GB, free: 4.496 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.5582, allocations: 198.2 kB / 1.497 GB, free: 4.301 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.5604, allocations: 0.5574 MB / 1.498 GB, free: 3.746 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.5627, allocations: 0.8514 MB / 1.499 GB, free: 2.898 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.5646, allocations: 1.39 MB / 1.5 GB, free: 1.504 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000877/0.5655, allocations: 390.6 kB / 1.501 GB, free: 1.098 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008324/0.5663, allocations: 0.5022 MB / 1.501 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.567, allocations: 457.8 kB / 1.501 GB, free: 148 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.5672, allocations: 116 kB / 1.502 GB, free: 32 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.5683, allocations: 491.6 kB / 1.502 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.5686, allocations: 291 kB / 1.502 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005222/0.5691, allocations: 469.7 kB / 1.503 GB, free: 14.8 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.5714, allocations: 1.662 MB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5714, allocations: 0 / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5714, allocations: 4 kB / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.5715, allocations: 3.938 kB / 1.504 GB, free: 13.13 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002931/0.5744, allocations: 1.399 MB / 1.506 GB, free: 11.7 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5744, allocations: 16.02 kB / 1.506 GB, free: 11.68 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.5746, allocations: 131.3 kB / 1.506 GB, free: 11.54 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.5761, allocations: 228 kB / 1.506 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.5777, allocations: 0.7141 MB / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.5778, allocations: 65.98 kB / 1.507 GB, free: 10.51 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5779, allocations: 80 kB / 1.507 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.5798, allocations: 1.158 MB / 1.508 GB, free: 9.176 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.5798, allocations: 0 / 1.508 GB, free: 9.176 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.5799, allocations: 32 kB / 1.508 GB, free: 9.145 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.5799, allocations: 20 kB / 1.508 GB, free: 9.125 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.5818, allocations: 1.057 MB / 1.509 GB, free: 8.066 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.5862, allocations: 2.193 MB / 1.511 GB, free: 5.809 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.5879, allocations: 0.7429 MB / 1.512 GB, free: 5.062 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.5884, allocations: 277.4 kB / 1.512 GB, free: 4.793 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/0.5885, allocations: 32.5 kB / 1.512 GB, free: 4.762 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.5896, allocations: 0.5816 MB / 1.513 GB, free: 4.137 MB / 1.201 GB Notification: Performance of pre-optimization done (n=79): time 2.705e-06/0.5896, allocations: 0 / 1.513 GB, free: 4.137 MB / 1.201 GB Notification: Performance of matching and sorting (n=79): time 0.003461/0.593, allocations: 1.115 MB / 1.514 GB, free: 3.012 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.5932, allocations: 188.6 kB / 1.514 GB, free: 2.785 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.5942, allocations: 0.6488 MB / 1.515 GB, free: 2.125 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/0.5943, allocations: 41.7 kB / 1.515 GB, free: 2.078 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.5947, allocations: 409 kB / 1.515 GB, free: 1.672 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.5949, allocations: 257.8 kB / 1.515 GB, free: 1.418 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.5952, allocations: 146.6 kB / 1.516 GB, free: 1.27 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.5954, allocations: 394.7 kB / 1.516 GB, free: 0.875 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.5959, allocations: 245.9 kB / 1.516 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/0.5967, allocations: 483 kB / 1.517 GB, free: 108 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.5978, allocations: 0.5683 MB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5978, allocations: 4 kB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002048/0.5999, allocations: 0.7945 MB / 1.518 GB, free: 14.72 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5999, allocations: 10.64 kB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5999, allocations: 0 / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.6005, allocations: 84.84 kB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.6012, allocations: 147.8 kB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.6035, allocations: 1.527 MB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.6043, allocations: 87.52 kB / 1.52 GB, free: 12.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.6043, allocations: 27.98 kB / 1.52 GB, free: 12.72 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: 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.0005064/0.6048, allocations: 269.7 kB / 1.52 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.605, allocations: 87.44 kB / 1.52 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.6076, allocations: 1.05 MB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6076, allocations: 8 kB / 1.521 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6076, allocations: 8 kB / 1.521 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.6076, allocations: 11.91 kB / 1.521 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.6113, allocations: 1.778 MB / 1.523 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6113, allocations: 3.938 kB / 1.523 GB, free: 9.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.6118, allocations: 143.8 kB / 1.523 GB, free: 9.289 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.6123, allocations: 68.8 kB / 1.523 GB, free: 9.219 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-05/0.6124, allocations: 27.97 kB / 1.523 GB, free: 9.191 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.6145, allocations: 1.543 MB / 1.525 GB, free: 7.527 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6145, allocations: 0 / 1.525 GB, free: 7.527 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.6169, allocations: 0.9907 MB / 1.526 GB, free: 6.523 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.6176, allocations: 207 kB / 1.526 GB, free: 6.32 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.6178, allocations: 16 kB / 1.526 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.6185, allocations: 67.92 kB / 1.526 GB, free: 6.238 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.6187, allocations: 76.94 kB / 1.526 GB, free: 6.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.6188, allocations: 31.98 kB / 1.526 GB, free: 6.129 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007785/0.6195, allocations: 475 kB / 1.527 GB, free: 5.672 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6195, allocations: 4 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001059/0.6206, allocations: 311.2 kB / 1.527 GB, free: 5.363 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: 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.00505/0.6256, allocations: 2.079 MB / 1.529 GB, free: 3.465 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.6276, allocations: 0.7612 MB / 1.53 GB, free: 2.691 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6276, allocations: 0 / 1.53 GB, free: 2.691 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.6287, allocations: 488.2 kB / 1.53 GB, free: 2.203 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.6302, allocations: 312.5 kB / 1.53 GB, free: 1.914 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.642, allocations: 6.232 MB / 1.536 GB, free: 11.53 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.6426, allocations: 431.6 kB / 1.537 GB, free: 11.07 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009313/0.6436, allocations: 258.7 kB / 1.537 GB, free: 10.82 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.6442, allocations: 399.1 kB / 1.537 GB, free: 10.43 MB / 1.232 GB Notification: Performance of SimCode: time 1.122e-06/0.6442, allocations: 0 / 1.537 GB, free: 10.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09285/0.7371, allocations: 23.22 MB / 1.56 GB, free: 3.523 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.83, allocations: 7.922 kB / 1.56 GB, free: 3.516 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.963747586123645]