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.001263/0.001263, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001443/0.001443, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.401/1.401, allocations: 230.6 MB / 256 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.038/3.038, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.002101/0.002101, allocations: 71.09 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007596/0.346, allocations: 4.373 MB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.5136, allocations: 132.7 MB / 1.46 GB, free: 7.949 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000812/0.5144, allocations: 23.81 kB / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.515, allocations: 194.2 kB / 1.46 GB, free: 7.734 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.5169, allocations: 0.557 MB / 1.46 GB, free: 7.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.519, allocations: 0.8652 MB / 1.461 GB, free: 6.32 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.5209, allocations: 1.378 MB / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008249/0.5217, allocations: 417.8 kB / 1.463 GB, free: 4.504 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008633/0.5226, allocations: 0.4906 MB / 1.463 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000671/0.5233, allocations: 0.5035 MB / 1.464 GB, free: 3.508 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.5234, allocations: 116 kB / 1.464 GB, free: 3.395 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.5245, allocations: 0.4957 MB / 1.465 GB, free: 2.898 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.5248, allocations: 295.1 kB / 1.465 GB, free: 2.609 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.5253, allocations: 461.8 kB / 1.465 GB, free: 2.156 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.5278, allocations: 1.673 MB / 1.467 GB, free: 488 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5278, allocations: 0 / 1.467 GB, free: 488 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5278, allocations: 4 kB / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of Transformations before backend: time 3.206e-05/0.5278, allocations: 3.938 kB / 1.467 GB, free: 480 kB / 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.002627/0.5304, allocations: 1.399 MB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5305, allocations: 12.03 kB / 1.468 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.5307, allocations: 139.2 kB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.532, allocations: 228 kB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.5334, allocations: 0.7103 MB / 1.469 GB, free: 13.92 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.5335, allocations: 62 kB / 1.469 GB, free: 13.86 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5336, allocations: 76 kB / 1.469 GB, free: 13.78 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.5353, allocations: 1.162 MB / 1.471 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.5353, allocations: 0 / 1.471 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-05/0.5354, allocations: 36 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.5355, allocations: 20 kB / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.5372, allocations: 1.054 MB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.5414, allocations: 2.193 MB / 1.474 GB, free: 9.148 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.5429, allocations: 0.7487 MB / 1.475 GB, free: 8.395 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.5434, allocations: 274.7 kB / 1.475 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-05/0.5435, allocations: 24.58 kB / 1.475 GB, free: 8.102 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009429/0.5444, allocations: 0.5803 MB / 1.475 GB, free: 7.477 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/0.5444, allocations: 0 / 1.475 GB, free: 7.477 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003228/0.5477, allocations: 1.107 MB / 1.477 GB, free: 6.359 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.5478, allocations: 200.5 kB / 1.477 GB, free: 6.121 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/0.5487, allocations: 0.6488 MB / 1.477 GB, free: 5.465 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.5488, allocations: 45.7 kB / 1.477 GB, free: 5.414 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.5492, allocations: 397 kB / 1.478 GB, free: 5.02 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.5495, allocations: 273.7 kB / 1.478 GB, free: 4.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.5498, allocations: 146.6 kB / 1.478 GB, free: 4.602 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002399/0.55, allocations: 394.6 kB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.5505, allocations: 237.9 kB / 1.479 GB, free: 3.973 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.5512, allocations: 487.1 kB / 1.479 GB, free: 3.441 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.5523, allocations: 0.576 MB / 1.48 GB, free: 2.852 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5523, allocations: 0 / 1.48 GB, free: 2.852 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00197/0.5543, allocations: 0.7945 MB / 1.481 GB, free: 2.047 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5543, allocations: 4 kB / 1.481 GB, free: 2.043 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5543, allocations: 0 / 1.481 GB, free: 2.043 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.5549, allocations: 84.86 kB / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.5555, allocations: 147.8 kB / 1.481 GB, free: 1.812 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.5577, allocations: 1.529 MB / 1.482 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/0.5586, allocations: 89.3 kB / 1.482 GB, free: 80 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.5586, allocations: 35.97 kB / 1.482 GB, free: 44 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.0005488/0.5592, allocations: 257.6 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5594, allocations: 87.44 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.5618, allocations: 1.058 MB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.5618, allocations: 8 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5619, allocations: 0 / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.5619, allocations: 11.92 kB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.5654, allocations: 1.774 MB / 1.486 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5654, allocations: 0 / 1.486 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.566, allocations: 139.8 kB / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/0.5664, allocations: 76.77 kB / 1.486 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.5665, allocations: 23.98 kB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.5685, allocations: 1.543 MB / 1.487 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5685, allocations: 0 / 1.487 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.5708, allocations: 0.9984 MB / 1.488 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/0.5714, allocations: 199.1 kB / 1.488 GB, free: 9.664 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.5715, allocations: 19.94 kB / 1.488 GB, free: 9.645 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.5722, allocations: 75.98 kB / 1.489 GB, free: 9.57 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.5723, allocations: 68.88 kB / 1.489 GB, free: 9.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/0.5724, allocations: 35.97 kB / 1.489 GB, free: 9.465 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006728/0.5731, allocations: 471 kB / 1.489 GB, free: 9.012 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5731, allocations: 0 / 1.489 GB, free: 9.012 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009773/0.5741, allocations: 315.2 kB / 1.489 GB, free: 8.703 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.004458/0.5785, allocations: 2.08 MB / 1.491 GB, free: 6.809 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.5804, allocations: 0.7648 MB / 1.492 GB, free: 6.031 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5805, allocations: 0 / 1.492 GB, free: 6.031 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.5815, allocations: 0.4925 MB / 1.493 GB, free: 5.531 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.5829, allocations: 306.4 kB / 1.493 GB, free: 5.246 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5941, allocations: 6.223 MB / 1.499 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.5946, allocations: 431.6 kB / 1.499 GB, free: 14.42 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000945/0.5955, allocations: 270.6 kB / 1.5 GB, free: 14.15 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.5961, allocations: 387.3 kB / 1.5 GB, free: 13.77 MB / 1.201 GB Notification: Performance of SimCode: time 1.502e-06/0.5961, allocations: 0 / 1.5 GB, free: 13.77 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06472/0.6608, allocations: 23.46 MB / 1.523 GB, free: 6.629 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.33, allocations: 13.27 kB / 1.523 GB, free: 6.621 MB / 1.217 GB " [Timeout remaining time 285] (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.948847199993907]