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.001269/0.001269, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001424/0.001424, allocations: 222.5 kB / 23.03 MB, free: 4.945 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.22/3.22, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",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.002054/0.002054, allocations: 63.11 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3604, allocations: 179 MB / 1.345 GB, free: 44 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007266/0.3677, allocations: 4.354 MB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.5436, allocations: 132.6 MB / 1.479 GB, free: 6.562 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.545, allocations: 23.81 kB / 1.479 GB, free: 6.539 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5461, allocations: 190.3 kB / 1.479 GB, free: 6.352 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.5488, allocations: 0.5603 MB / 1.48 GB, free: 5.793 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.5514, allocations: 0.8572 MB / 1.481 GB, free: 4.941 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.5535, allocations: 1.386 MB / 1.482 GB, free: 3.547 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.5545, allocations: 410.8 kB / 1.482 GB, free: 3.125 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/0.5554, allocations: 0.4983 MB / 1.483 GB, free: 2.625 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008749/0.5563, allocations: 0.5018 MB / 1.483 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.5566, allocations: 116 kB / 1.483 GB, free: 2.008 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.5578, allocations: 0.4995 MB / 1.484 GB, free: 1.508 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/0.5582, allocations: 295 kB / 1.484 GB, free: 1.219 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.5589, allocations: 457.8 kB / 1.485 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.5616, allocations: 1.669 MB / 1.486 GB, free: 15.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5616, allocations: 4 kB / 1.486 GB, free: 15.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5616, allocations: 4 kB / 1.486 GB, free: 15.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.397e-05/0.5616, allocations: 0 / 1.486 GB, free: 15.09 MB / 1.186 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.002794/0.5644, allocations: 1.403 MB / 1.488 GB, free: 13.64 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5645, allocations: 12.03 kB / 1.488 GB, free: 13.63 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.661e-05/0.5645, allocations: 26.19 kB / 1.488 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.5647, allocations: 131.3 kB / 1.488 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.5661, allocations: 228 kB / 1.488 GB, free: 13.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.5674, allocations: 0.71 MB / 1.489 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.5674, allocations: 66 kB / 1.489 GB, free: 12.45 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.5676, allocations: 76 kB / 1.489 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.5693, allocations: 1.162 MB / 1.49 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.5693, allocations: 0 / 1.49 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.5694, allocations: 36 kB / 1.49 GB, free: 11.08 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.5694, allocations: 20 kB / 1.49 GB, free: 11.06 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.5712, allocations: 1.093 MB / 1.491 GB, free: 9.965 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.575, allocations: 2.197 MB / 1.493 GB, free: 7.703 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5765, allocations: 0.7454 MB / 1.494 GB, free: 6.957 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.577, allocations: 278.6 kB / 1.494 GB, free: 6.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/0.5771, allocations: 28.62 kB / 1.494 GB, free: 6.652 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000929/0.578, allocations: 0.5763 MB / 1.495 GB, free: 6.031 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.455e-06/0.578, allocations: 4 kB / 1.495 GB, free: 6.027 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003178/0.5812, allocations: 1.111 MB / 1.496 GB, free: 4.91 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.5813, allocations: 192.6 kB / 1.496 GB, free: 4.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.5822, allocations: 0.6449 MB / 1.497 GB, free: 4.023 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.5822, allocations: 41.7 kB / 1.497 GB, free: 3.977 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.5826, allocations: 401 kB / 1.497 GB, free: 3.578 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.5828, allocations: 269.7 kB / 1.497 GB, free: 3.312 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.5831, allocations: 146.6 kB / 1.498 GB, free: 3.164 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.5833, allocations: 390.7 kB / 1.498 GB, free: 2.773 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.5838, allocations: 245.9 kB / 1.498 GB, free: 2.531 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.5845, allocations: 487 kB / 1.499 GB, free: 2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5855, allocations: 0.5721 MB / 1.499 GB, free: 1.414 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5855, allocations: 4 kB / 1.499 GB, free: 1.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001954/0.5875, allocations: 0.7985 MB / 1.5 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5875, allocations: 6.031 kB / 1.5 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5875, allocations: 4 kB / 1.5 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.5881, allocations: 84.73 kB / 1.5 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.5888, allocations: 151.7 kB / 1.5 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.5911, allocations: 1.522 MB / 1.502 GB, free: 14.72 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.5918, allocations: 79.58 kB / 1.502 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.5919, allocations: 27.98 kB / 1.502 GB, free: 14.61 MB / 1.201 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.0004743/0.5924, allocations: 273.9 kB / 1.502 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.5926, allocations: 91.42 kB / 1.502 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.595, allocations: 1.046 MB / 1.503 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.595, allocations: 12 kB / 1.503 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5951, allocations: 7.922 kB / 1.503 GB, free: 13.17 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5951, allocations: 3.984 kB / 1.503 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.5984, allocations: 1.778 MB / 1.505 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5984, allocations: 0 / 1.505 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.599, allocations: 139.8 kB / 1.505 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.5995, allocations: 76.78 kB / 1.505 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.5995, allocations: 23.98 kB / 1.505 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.6017, allocations: 1.547 MB / 1.507 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6017, allocations: 4.031 kB / 1.507 GB, free: 9.418 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.6039, allocations: 0.9906 MB / 1.508 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.6044, allocations: 203.1 kB / 1.508 GB, free: 8.211 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.6045, allocations: 20 kB / 1.508 GB, free: 8.191 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.6052, allocations: 63.92 kB / 1.508 GB, free: 8.129 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.6054, allocations: 76.86 kB / 1.508 GB, free: 8.051 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.549e-05/0.6055, allocations: 31.98 kB / 1.508 GB, free: 8.02 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007513/0.6062, allocations: 475 kB / 1.508 GB, free: 7.562 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6062, allocations: 0 / 1.508 GB, free: 7.562 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00116/0.6074, allocations: 315.2 kB / 1.509 GB, free: 7.254 MB / 1.201 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.004784/0.6122, allocations: 2.082 MB / 1.511 GB, free: 5.355 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.6142, allocations: 0.765 MB / 1.512 GB, free: 4.578 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6142, allocations: 0 / 1.512 GB, free: 4.578 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/0.6152, allocations: 488.2 kB / 1.512 GB, free: 4.094 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.6166, allocations: 309.4 kB / 1.512 GB, free: 3.809 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.628, allocations: 6.23 MB / 1.518 GB, free: 13.43 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.6285, allocations: 431.6 kB / 1.519 GB, free: 12.97 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009337/0.6294, allocations: 266.6 kB / 1.519 GB, free: 12.7 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.63, allocations: 387.3 kB / 1.519 GB, free: 12.32 MB / 1.217 GB Notification: Performance of SimCode: time 1.452e-06/0.63, allocations: 0 / 1.519 GB, free: 12.32 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.6916, allocations: 23 MB / 1.542 GB, free: 5.645 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.38, allocations: 10.62 kB / 1.542 GB, free: 5.637 MB / 1.232 GB " [Timeout remaining time 284] (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: 22.396358769969083]