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.001692/0.001692, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002129/0.002129, allocations: 213.1 kB / 22.24 MB, free: 5.262 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.442/1.442, 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.088/3.088, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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.002049/0.002049, allocations: 73.09 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007214/0.328, allocations: 4.378 MB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.5142, allocations: 132.7 MB / 1.459 GB, free: 8.812 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000774/0.515, allocations: 23.81 kB / 1.459 GB, free: 8.789 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.5156, allocations: 198.2 kB / 1.459 GB, free: 8.594 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.5177, allocations: 0.555 MB / 1.46 GB, free: 8.039 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.5199, allocations: 0.8555 MB / 1.46 GB, free: 7.188 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.5221, allocations: 1.382 MB / 1.462 GB, free: 5.801 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007891/0.5229, allocations: 397.8 kB / 1.462 GB, free: 5.387 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008008/0.5237, allocations: 498.4 kB / 1.463 GB, free: 4.898 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.5244, allocations: 459.7 kB / 1.463 GB, free: 4.449 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.5246, allocations: 120 kB / 1.463 GB, free: 4.332 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.5259, allocations: 499.6 kB / 1.464 GB, free: 3.844 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.5263, allocations: 303 kB / 1.464 GB, free: 3.547 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007325/0.5271, allocations: 453.8 kB / 1.464 GB, free: 3.102 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.5296, allocations: 1.673 MB / 1.466 GB, free: 1.422 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5297, allocations: 7.922 kB / 1.466 GB, free: 1.414 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5297, allocations: 0 / 1.466 GB, free: 1.414 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.5297, allocations: 0 / 1.466 GB, free: 1.414 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.003356/0.533, allocations: 1.392 MB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5331, allocations: 15.97 kB / 1.467 GB, free: 15.97 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.5333, allocations: 135.2 kB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.5347, allocations: 232 kB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.5363, allocations: 0.7025 MB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.5364, allocations: 66 kB / 1.469 GB, free: 14.81 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.5365, allocations: 76 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.5386, allocations: 1.169 MB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5387, allocations: 0 / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.5387, allocations: 32 kB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.5388, allocations: 20 kB / 1.47 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.5414, allocations: 1.057 MB / 1.471 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006271/0.5477, allocations: 2.193 MB / 1.473 GB, free: 10.1 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.5497, allocations: 0.7448 MB / 1.474 GB, free: 9.348 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.5504, allocations: 270.7 kB / 1.474 GB, free: 9.082 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.912e-05/0.5505, allocations: 24.56 kB / 1.474 GB, free: 9.059 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.5515, allocations: 0.5844 MB / 1.475 GB, free: 8.43 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 6.141e-06/0.5515, allocations: 3.984 kB / 1.475 GB, free: 8.426 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.00354/0.5551, allocations: 1.111 MB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.5552, allocations: 188.6 kB / 1.476 GB, free: 7.078 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.5563, allocations: 0.6566 MB / 1.476 GB, free: 6.414 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/0.5564, allocations: 41.7 kB / 1.477 GB, free: 6.367 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.5568, allocations: 401.1 kB / 1.477 GB, free: 5.969 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.5572, allocations: 273.7 kB / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.5574, allocations: 142.6 kB / 1.477 GB, free: 5.555 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.5577, allocations: 402.5 kB / 1.478 GB, free: 5.152 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.5582, allocations: 237.9 kB / 1.478 GB, free: 4.918 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.5589, allocations: 479.1 kB / 1.478 GB, free: 4.395 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.5603, allocations: 0.576 MB / 1.479 GB, free: 3.805 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.5603, allocations: 3.938 kB / 1.479 GB, free: 3.801 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002537/0.5628, allocations: 0.8023 MB / 1.48 GB, free: 2.988 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5629, allocations: 4 kB / 1.48 GB, free: 2.984 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5629, allocations: 4 kB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008513/0.5637, allocations: 80.86 kB / 1.48 GB, free: 2.898 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.5643, allocations: 147.8 kB / 1.48 GB, free: 2.754 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.5669, allocations: 1.523 MB / 1.481 GB, free: 1.109 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/0.5677, allocations: 83.64 kB / 1.481 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.5677, allocations: 31.97 kB / 1.482 GB, free: 0.9961 MB / 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.0006377/0.5684, allocations: 265.8 kB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.5686, allocations: 87.44 kB / 1.482 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.5715, allocations: 1.058 MB / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.5715, allocations: 12 kB / 1.483 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5715, allocations: 0 / 1.483 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.5715, allocations: 7.922 kB / 1.483 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.5751, allocations: 1.763 MB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5751, allocations: 0 / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/0.5756, allocations: 143.8 kB / 1.485 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/0.5761, allocations: 80.72 kB / 1.485 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.5761, allocations: 23.98 kB / 1.485 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.5782, allocations: 1.551 MB / 1.486 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5782, allocations: 3.984 kB / 1.486 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.5806, allocations: 0.9945 MB / 1.487 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.5811, allocations: 207 kB / 1.488 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.5813, allocations: 20 kB / 1.488 GB, free: 10.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.582, allocations: 59.94 kB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.5821, allocations: 76.86 kB / 1.488 GB, free: 10.44 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/0.5822, allocations: 31.97 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000827/0.583, allocations: 479 kB / 1.488 GB, free: 9.949 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.583, allocations: 0 / 1.488 GB, free: 9.949 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001048/0.5841, allocations: 315.2 kB / 1.488 GB, free: 9.641 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.004534/0.5886, allocations: 2.078 MB / 1.491 GB, free: 7.746 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.5905, allocations: 0.7609 MB / 1.491 GB, free: 6.973 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5905, allocations: 4 kB / 1.491 GB, free: 6.969 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009384/0.5914, allocations: 492.4 kB / 1.492 GB, free: 6.48 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5928, allocations: 308.5 kB / 1.492 GB, free: 6.195 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.6049, allocations: 6.23 MB / 1.498 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.6054, allocations: 427.6 kB / 1.499 GB, free: 15.36 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009036/0.6063, allocations: 274.6 kB / 1.499 GB, free: 15.09 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/0.6069, allocations: 375.3 kB / 1.499 GB, free: 14.72 MB / 1.201 GB Notification: Performance of SimCode: time 1.092e-06/0.6069, allocations: 0 / 1.499 GB, free: 14.72 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06745/0.6743, allocations: 23.22 MB / 1.522 GB, free: 7.809 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.49, allocations: 17.42 kB / 1.522 GB, free: 7.797 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 & 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: 22.29859050596133]