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.001369/0.001369, 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.00174/0.00174, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.087/3.087, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_12_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.001948/0.001948, allocations: 67.38 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3109, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006784/0.3177, allocations: 4.37 MB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.4883, allocations: 132.6 MB / 1.46 GB, free: 8.047 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.4896, allocations: 23.81 kB / 1.46 GB, free: 8.023 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.4907, allocations: 194.2 kB / 1.461 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.4935, allocations: 0.5493 MB / 1.461 GB, free: 7.281 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.4966, allocations: 0.8655 MB / 1.462 GB, free: 6.422 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00295/0.4996, allocations: 1.382 MB / 1.463 GB, free: 5.035 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.501, allocations: 413.8 kB / 1.464 GB, free: 4.605 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.5023, allocations: 0.4944 MB / 1.464 GB, free: 4.109 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.5036, allocations: 0.5017 MB / 1.465 GB, free: 3.605 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003856/0.504, allocations: 120 kB / 1.465 GB, free: 3.488 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.5056, allocations: 0.4919 MB / 1.465 GB, free: 2.996 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006016/0.5062, allocations: 291.1 kB / 1.466 GB, free: 2.711 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.5073, allocations: 461.8 kB / 1.466 GB, free: 2.258 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.5111, allocations: 1.673 MB / 1.468 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5111, allocations: 0 / 1.468 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5111, allocations: 4 kB / 1.468 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.921e-05/0.5112, allocations: 0 / 1.468 GB, free: 0.5742 MB / 1.154 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.004629/0.5158, allocations: 1.401 MB / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.5158, allocations: 16.03 kB / 1.469 GB, free: 15.12 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.921e-05/0.5159, allocations: 22.19 kB / 1.469 GB, free: 15.1 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003051/0.5162, allocations: 131.3 kB / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.5185, allocations: 232 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.5207, allocations: 0.708 MB / 1.47 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.5207, allocations: 62 kB / 1.47 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.521, allocations: 83.98 kB / 1.47 GB, free: 13.86 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.5237, allocations: 1.161 MB / 1.471 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.5238, allocations: 0 / 1.471 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.5239, allocations: 32 kB / 1.471 GB, free: 12.56 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.5239, allocations: 20 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.5268, allocations: 1.1 MB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.5331, allocations: 2.197 MB / 1.475 GB, free: 9.18 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.5354, allocations: 0.7439 MB / 1.475 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/0.5362, allocations: 272.8 kB / 1.476 GB, free: 8.164 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.5363, allocations: 24.64 kB / 1.476 GB, free: 8.141 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.5377, allocations: 0.5776 MB / 1.476 GB, free: 7.52 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 4.017e-06/0.5377, allocations: 0 / 1.476 GB, free: 7.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.004681/0.5424, allocations: 1.123 MB / 1.477 GB, free: 6.387 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5425, allocations: 196.6 kB / 1.477 GB, free: 6.152 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.544, allocations: 0.6449 MB / 1.478 GB, free: 5.5 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.5441, allocations: 45.7 kB / 1.478 GB, free: 5.449 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.5446, allocations: 405 kB / 1.478 GB, free: 5.047 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/0.545, allocations: 261.8 kB / 1.479 GB, free: 4.789 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/0.5453, allocations: 146.6 kB / 1.479 GB, free: 4.641 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0003402/0.5457, allocations: 386.8 kB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/0.5465, allocations: 241.9 kB / 1.479 GB, free: 4.016 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5476, allocations: 483.1 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.5492, allocations: 0.576 MB / 1.48 GB, free: 2.898 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.5492, allocations: 0 / 1.48 GB, free: 2.898 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002929/0.5521, allocations: 0.7984 MB / 1.481 GB, free: 2.094 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.5522, allocations: 4 kB / 1.481 GB, free: 2.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.5522, allocations: 4 kB / 1.481 GB, free: 2.086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007707/0.5529, allocations: 84.86 kB / 1.481 GB, free: 2 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/0.5539, allocations: 143.8 kB / 1.482 GB, free: 1.859 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.5569, allocations: 1.531 MB / 1.483 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.5579, allocations: 87.59 kB / 1.483 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.5581, allocations: 31.97 kB / 1.483 GB, free: 92 kB / 1.17 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.0007083/0.5588, allocations: 265.7 kB / 1.483 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.5591, allocations: 83.48 kB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003555/0.5627, allocations: 1.058 MB / 1.484 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.5627, allocations: 12 kB / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5627, allocations: 0 / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.5627, allocations: 3.984 kB / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/0.5678, allocations: 1.774 MB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5678, allocations: 0 / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/0.5687, allocations: 143.8 kB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005986/0.5693, allocations: 76.78 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.5694, allocations: 31.91 kB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.5721, allocations: 1.531 MB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5721, allocations: 3.938 kB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.5752, allocations: 0.9984 MB / 1.489 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.5759, allocations: 203.1 kB / 1.489 GB, free: 9.699 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.5762, allocations: 28 kB / 1.489 GB, free: 9.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5772, allocations: 65.69 kB / 1.489 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.5775, allocations: 72.86 kB / 1.489 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.5776, allocations: 39.92 kB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001111/0.5787, allocations: 471 kB / 1.49 GB, free: 9.039 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5787, allocations: 0 / 1.49 GB, free: 9.039 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001409/0.5801, allocations: 319.2 kB / 1.49 GB, free: 8.727 MB / 1.186 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.006209/0.5863, allocations: 2.09 MB / 1.492 GB, free: 6.824 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.5887, allocations: 0.7571 MB / 1.493 GB, free: 6.051 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.5887, allocations: 0 / 1.493 GB, free: 6.051 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.59, allocations: 0.4886 MB / 1.493 GB, free: 5.555 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.5921, allocations: 302.5 kB / 1.494 GB, free: 5.281 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.608, allocations: 6.215 MB / 1.5 GB, free: 14.91 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.6088, allocations: 437.3 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001317/0.6101, allocations: 258.7 kB / 1.5 GB, free: 14.2 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009384/0.611, allocations: 387.3 kB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of SimCode: time 1.252e-06/0.611, allocations: 0 / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07888/0.6899, allocations: 23.01 MB / 1.523 GB, free: 7.152 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.41, allocations: 0 / 1.523 GB, free: 7.152 MB / 1.217 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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: 22.25040167302359]