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.001738/0.001738, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00156/0.00156, allocations: 216.6 kB / 22.25 MB, free: 5.105 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.805 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.007/3.007, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.001934/0.001934, allocations: 73.34 kB / 1.154 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3394, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006968/0.3464, allocations: 4.383 MB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.5149, allocations: 132.7 MB / 1.46 GB, free: 7.875 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007317/0.5157, allocations: 19.81 kB / 1.46 GB, free: 7.855 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.5163, allocations: 194.2 kB / 1.46 GB, free: 7.664 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.518, allocations: 0.5671 MB / 1.46 GB, free: 7.098 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.5199, allocations: 0.8443 MB / 1.461 GB, free: 6.258 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.5216, allocations: 1.386 MB / 1.463 GB, free: 4.867 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.5223, allocations: 413.8 kB / 1.463 GB, free: 4.438 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007565/0.5231, allocations: 0.4983 MB / 1.463 GB, free: 3.938 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006608/0.5237, allocations: 0.5018 MB / 1.464 GB, free: 3.434 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.5239, allocations: 116 kB / 1.464 GB, free: 3.32 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.5249, allocations: 0.4918 MB / 1.465 GB, free: 2.828 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.5252, allocations: 303 kB / 1.465 GB, free: 2.531 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.5257, allocations: 453.8 kB / 1.465 GB, free: 2.086 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.5281, allocations: 1.673 MB / 1.467 GB, free: 416 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5281, allocations: 0 / 1.467 GB, free: 416 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5281, allocations: 0 / 1.467 GB, free: 416 kB / 1.154 GB Notification: Performance of Transformations before backend: time 4.121e-05/0.5281, allocations: 0 / 1.467 GB, free: 416 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.003243/0.5314, allocations: 1.411 MB / 1.468 GB, free: 14.96 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5314, allocations: 8.031 kB / 1.468 GB, free: 14.95 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.5316, allocations: 131.3 kB / 1.468 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.5331, allocations: 228 kB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5344, allocations: 0.7141 MB / 1.469 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.5345, allocations: 58 kB / 1.469 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.5346, allocations: 84 kB / 1.469 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.5364, allocations: 1.154 MB / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.5364, allocations: 0 / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.5365, allocations: 35.98 kB / 1.471 GB, free: 12.42 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.5365, allocations: 20 kB / 1.471 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.5383, allocations: 1.054 MB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.5427, allocations: 2.192 MB / 1.474 GB, free: 9.09 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.545, allocations: 0.7447 MB / 1.475 GB, free: 8.34 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.5458, allocations: 274.7 kB / 1.475 GB, free: 8.07 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.5459, allocations: 32.56 kB / 1.475 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.5474, allocations: 0.592 MB / 1.475 GB, free: 7.402 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 4.278e-06/0.5474, allocations: 3.938 kB / 1.475 GB, free: 7.398 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.004448/0.5519, allocations: 1.111 MB / 1.477 GB, free: 6.277 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.552, allocations: 188.6 kB / 1.477 GB, free: 6.051 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.5529, allocations: 0.6488 MB / 1.477 GB, free: 5.395 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.879e-05/0.553, allocations: 45.64 kB / 1.477 GB, free: 5.344 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.5534, allocations: 401 kB / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.5536, allocations: 265.7 kB / 1.478 GB, free: 4.684 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.5539, allocations: 146.6 kB / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.5541, allocations: 390.7 kB / 1.479 GB, free: 4.145 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.5546, allocations: 249.9 kB / 1.479 GB, free: 3.898 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.5553, allocations: 479.1 kB / 1.479 GB, free: 3.375 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.5564, allocations: 0.576 MB / 1.48 GB, free: 2.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5564, allocations: 0 / 1.48 GB, free: 2.785 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002015/0.5584, allocations: 0.7946 MB / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5584, allocations: 12 kB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.5585, allocations: 0 / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006324/0.5591, allocations: 76.78 kB / 1.481 GB, free: 1.891 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.5597, allocations: 151.8 kB / 1.481 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.562, allocations: 1.535 MB / 1.482 GB, free: 88 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.5627, allocations: 83.61 kB / 1.482 GB, free: 4 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.5628, allocations: 27.98 kB / 1.482 GB, free: 15.98 MB / 1.186 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.0004735/0.5633, allocations: 269.7 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.5635, allocations: 87.44 kB / 1.483 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.5659, allocations: 1.05 MB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.566, allocations: 15.98 kB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.566, allocations: 0 / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.566, allocations: 7.922 kB / 1.484 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.5694, allocations: 1.774 MB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5694, allocations: 0 / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.57, allocations: 147.8 kB / 1.486 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.5705, allocations: 72.78 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.5705, allocations: 23.98 kB / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.5727, allocations: 1.543 MB / 1.487 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5727, allocations: 144 / 1.487 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.5749, allocations: 0.9945 MB / 1.488 GB, free: 9.785 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/0.5754, allocations: 207.1 kB / 1.488 GB, free: 9.582 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.5755, allocations: 23.92 kB / 1.488 GB, free: 9.559 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.5762, allocations: 59.94 kB / 1.489 GB, free: 9.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.5764, allocations: 76.8 kB / 1.489 GB, free: 9.422 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.5765, allocations: 39.92 kB / 1.489 GB, free: 9.383 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006989/0.5772, allocations: 475 kB / 1.489 GB, free: 8.926 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5772, allocations: 0 / 1.489 GB, free: 8.926 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009452/0.5781, allocations: 311.2 kB / 1.489 GB, free: 8.621 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.004414/0.5825, allocations: 2.075 MB / 1.491 GB, free: 6.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.5842, allocations: 0.7612 MB / 1.492 GB, free: 5.957 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5842, allocations: 0 / 1.492 GB, free: 5.957 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009385/0.5852, allocations: 496.1 kB / 1.493 GB, free: 5.465 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5866, allocations: 312.7 kB / 1.493 GB, free: 5.176 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5972, allocations: 6.225 MB / 1.499 GB, free: 14.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.5976, allocations: 427.6 kB / 1.499 GB, free: 14.34 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008249/0.5985, allocations: 262.7 kB / 1.5 GB, free: 14.08 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.5991, allocations: 395.2 kB / 1.5 GB, free: 13.7 MB / 1.201 GB Notification: Performance of SimCode: time 1.303e-06/0.5991, allocations: 0 / 1.5 GB, free: 13.7 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06745/0.6665, allocations: 23.46 MB / 1.523 GB, free: 6.539 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.09, allocations: 7.875 kB / 1.523 GB, free: 6.531 MB / 1.217 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 & /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: 20.639943252986996]