Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001695/0.001695, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002001/0.002001, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 9.086 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.127/3.127, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_12_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.002253/0.002253, allocations: 75.27 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3441, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007763/0.3518, allocations: 4.849 MB / 1.326 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1869/0.5388, allocations: 154 MB / 1.476 GB, free: 3.867 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009003/0.5397, allocations: 23.81 kB / 1.476 GB, free: 3.844 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000839/0.5405, allocations: 194.2 kB / 1.476 GB, free: 3.652 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.5427, allocations: 0.5561 MB / 1.477 GB, free: 3.098 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.545, allocations: 0.8567 MB / 1.477 GB, free: 2.246 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.5472, allocations: 1.386 MB / 1.479 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009961/0.5482, allocations: 417.3 kB / 1.479 GB, free: 432 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009151/0.5491, allocations: 0.4945 MB / 1.48 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.5499, allocations: 0.5034 MB / 1.48 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.5502, allocations: 120 kB / 1.48 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.5514, allocations: 0.5035 MB / 1.481 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.5517, allocations: 303 kB / 1.481 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.5524, allocations: 0.5519 MB / 1.482 GB, free: 13.95 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.5551, allocations: 1.665 MB / 1.483 GB, free: 12.28 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5551, allocations: 0 / 1.483 GB, free: 12.28 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5551, allocations: 0 / 1.483 GB, free: 12.28 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.261e-05/0.5551, allocations: 0 / 1.483 GB, free: 12.28 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.003376/0.5585, allocations: 1.486 MB / 1.485 GB, free: 10.74 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.5585, allocations: 11.98 kB / 1.485 GB, free: 10.73 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.5588, allocations: 139.2 kB / 1.485 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.5604, allocations: 228 kB / 1.485 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.5619, allocations: 0.7746 MB / 1.486 GB, free: 9.547 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/0.562, allocations: 62 kB / 1.486 GB, free: 9.484 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.5621, allocations: 76 kB / 1.486 GB, free: 9.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.564, allocations: 0.9066 MB / 1.487 GB, free: 8.465 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.564, allocations: 0 / 1.487 GB, free: 8.465 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.5641, allocations: 40 kB / 1.487 GB, free: 8.426 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.5641, allocations: 20 kB / 1.487 GB, free: 8.406 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.5661, allocations: 1.1 MB / 1.488 GB, free: 7.301 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.5709, allocations: 2.709 MB / 1.491 GB, free: 4.461 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.5725, allocations: 0.8188 MB / 1.491 GB, free: 3.617 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.5731, allocations: 270.7 kB / 1.492 GB, free: 3.348 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.35e-05/0.5732, allocations: 36.55 kB / 1.492 GB, free: 3.312 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009548/0.5742, allocations: 495.8 kB / 1.492 GB, free: 2.809 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/0.5742, allocations: 0 / 1.492 GB, free: 2.809 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003531/0.5777, allocations: 1.183 MB / 1.493 GB, free: 1.602 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.5778, allocations: 200.5 kB / 1.494 GB, free: 1.363 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5789, allocations: 0.645 MB / 1.494 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.536e-05/0.579, allocations: 41.7 kB / 1.494 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.5794, allocations: 405 kB / 1.495 GB, free: 268 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.5796, allocations: 265.7 kB / 1.495 GB, free: 0 / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.5799, allocations: 146.7 kB / 1.495 GB, free: 15.85 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.5801, allocations: 402.6 kB / 1.495 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/0.5806, allocations: 237.9 kB / 1.496 GB, free: 15.21 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.5813, allocations: 354.5 kB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.5825, allocations: 0.5721 MB / 1.496 GB, free: 14.26 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5825, allocations: 4 kB / 1.496 GB, free: 14.25 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002085/0.5846, allocations: 0.7906 MB / 1.497 GB, free: 13.45 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5846, allocations: 8 kB / 1.497 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5846, allocations: 0 / 1.497 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.5852, allocations: 84.86 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.5859, allocations: 151.8 kB / 1.497 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.5883, allocations: 1.637 MB / 1.499 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.5891, allocations: 99.53 kB / 1.499 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/0.5892, allocations: 31.98 kB / 1.499 GB, free: 11.3 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.0005551/0.5898, allocations: 267.1 kB / 1.499 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.59, allocations: 87.44 kB / 1.5 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.5926, allocations: 1.054 MB / 1.501 GB, free: 9.875 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5926, allocations: 8 kB / 1.501 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5926, allocations: 0 / 1.501 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.5926, allocations: 15.91 kB / 1.501 GB, free: 9.852 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.5963, allocations: 1.919 MB / 1.502 GB, free: 7.871 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.5964, allocations: 4 kB / 1.502 GB, free: 7.867 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/0.597, allocations: 139.8 kB / 1.503 GB, free: 7.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/0.5974, allocations: 72.78 kB / 1.503 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.5975, allocations: 23.98 kB / 1.503 GB, free: 7.633 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.5996, allocations: 1.654 MB / 1.504 GB, free: 5.832 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5996, allocations: 0 / 1.504 GB, free: 5.832 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.6019, allocations: 0.9984 MB / 1.505 GB, free: 4.812 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/0.6024, allocations: 276.2 kB / 1.506 GB, free: 4.523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.6026, allocations: 20 kB / 1.506 GB, free: 4.504 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000755/0.6034, allocations: 66.42 kB / 1.506 GB, free: 4.441 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.6035, allocations: 65.05 kB / 1.506 GB, free: 4.379 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.6036, allocations: 35.98 kB / 1.506 GB, free: 4.344 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007547/0.6044, allocations: 483 kB / 1.506 GB, free: 3.879 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6044, allocations: 0 / 1.506 GB, free: 3.879 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001063/0.6054, allocations: 311.2 kB / 1.507 GB, free: 3.574 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.004488/0.6099, allocations: 2.045 MB / 1.509 GB, free: 1.691 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.6118, allocations: 0.7687 MB / 1.509 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6118, allocations: 0 / 1.509 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.6129, allocations: 492.4 kB / 1.51 GB, free: 428 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.6145, allocations: 301.6 kB / 1.51 GB, free: 140 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.6263, allocations: 6.225 MB / 1.516 GB, free: 9.762 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.6271, allocations: 1.019 MB / 1.517 GB, free: 8.711 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000859/0.6279, allocations: 258.7 kB / 1.517 GB, free: 8.453 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/0.6286, allocations: 387.3 kB / 1.518 GB, free: 8.074 MB / 1.217 GB Notification: Performance of SimCode: time 1.162e-06/0.6286, allocations: 0 / 1.518 GB, free: 8.074 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06472/0.6933, allocations: 21.71 MB / 1.539 GB, free: 2.652 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.95, allocations: 4.672 kB / 1.539 GB, free: 2.652 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.76768396096304]