Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001312/0.001312, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001559/0.001559, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.136/3.136, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_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.002066/0.002066, allocations: 75.3 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3272, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007329/0.3345, allocations: 4.884 MB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.178/0.5126, allocations: 154.1 MB / 1.508 GB, free: 8.859 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.5134, allocations: 23.81 kB / 1.508 GB, free: 8.836 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.5142, allocations: 198.2 kB / 1.508 GB, free: 8.641 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.5164, allocations: 0.5539 MB / 1.509 GB, free: 8.086 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.5187, allocations: 0.8764 MB / 1.51 GB, free: 7.215 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001938/0.5206, allocations: 1.39 MB / 1.511 GB, free: 5.816 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.5215, allocations: 413.8 kB / 1.511 GB, free: 5.387 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/0.5224, allocations: 0.4944 MB / 1.512 GB, free: 4.891 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008014/0.5232, allocations: 0.5056 MB / 1.512 GB, free: 4.383 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.5234, allocations: 123.9 kB / 1.513 GB, free: 4.262 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.5246, allocations: 0.5074 MB / 1.513 GB, free: 3.754 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.5249, allocations: 295 kB / 1.513 GB, free: 3.465 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.5256, allocations: 0.5596 MB / 1.514 GB, free: 2.902 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.5281, allocations: 1.658 MB / 1.516 GB, free: 1.238 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5281, allocations: 0 / 1.516 GB, free: 1.238 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5281, allocations: 0 / 1.516 GB, free: 1.238 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.967e-05/0.5281, allocations: 0 / 1.516 GB, free: 1.238 MB / 1.201 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.003033/0.5311, allocations: 1.411 MB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5312, allocations: 12.03 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.5314, allocations: 131.3 kB / 1.517 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.5329, allocations: 224 kB / 1.517 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.5344, allocations: 0.718 MB / 1.518 GB, free: 14.69 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/0.5345, allocations: 58 kB / 1.518 GB, free: 14.63 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.5346, allocations: 87.98 kB / 1.518 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.5363, allocations: 0.8989 MB / 1.519 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5363, allocations: 4 kB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.5364, allocations: 35.94 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.5364, allocations: 20 kB / 1.519 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.5383, allocations: 1.1 MB / 1.52 GB, free: 12.44 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00473/0.5431, allocations: 2.662 MB / 1.523 GB, free: 9.648 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.5447, allocations: 0.7469 MB / 1.523 GB, free: 8.891 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.5453, allocations: 274.7 kB / 1.524 GB, free: 8.617 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/0.5454, allocations: 32.53 kB / 1.524 GB, free: 8.586 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009348/0.5463, allocations: 0.4894 MB / 1.524 GB, free: 8.078 MB / 1.217 GB Notification: Performance of pre-optimization done (n=79): time 3.487e-06/0.5463, allocations: 0 / 1.524 GB, free: 8.078 MB / 1.217 GB Notification: Performance of matching and sorting (n=79): time 0.003409/0.5497, allocations: 1.115 MB / 1.525 GB, free: 6.957 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.5498, allocations: 188.6 kB / 1.525 GB, free: 6.73 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009968/0.5508, allocations: 0.6449 MB / 1.526 GB, free: 6.078 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5509, allocations: 41.7 kB / 1.526 GB, free: 6.031 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.5513, allocations: 401 kB / 1.527 GB, free: 5.633 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.5516, allocations: 269.7 kB / 1.527 GB, free: 5.367 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.5518, allocations: 146.6 kB / 1.527 GB, free: 5.219 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.552, allocations: 390.7 kB / 1.527 GB, free: 4.828 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.5525, allocations: 245.9 kB / 1.528 GB, free: 4.59 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/0.5532, allocations: 354.5 kB / 1.528 GB, free: 4.215 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.5543, allocations: 0.576 MB / 1.528 GB, free: 3.629 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5543, allocations: 0 / 1.528 GB, free: 3.629 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002046/0.5563, allocations: 0.7984 MB / 1.529 GB, free: 2.82 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.5564, allocations: 9.656 kB / 1.529 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5564, allocations: 0 / 1.529 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/0.557, allocations: 80.88 kB / 1.529 GB, free: 2.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/0.5577, allocations: 147.8 kB / 1.529 GB, free: 2.586 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.56, allocations: 1.549 MB / 1.531 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/0.5608, allocations: 83.64 kB / 1.531 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5609, allocations: 27.98 kB / 1.531 GB, free: 0.8125 MB / 1.217 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.0005647/0.5615, allocations: 265.6 kB / 1.531 GB, free: 0.543 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.5617, allocations: 87.44 kB / 1.531 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.5643, allocations: 1.05 MB / 1.532 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5643, allocations: 12 kB / 1.532 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5643, allocations: 0 / 1.532 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.5644, allocations: 11.92 kB / 1.532 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/0.5682, allocations: 1.899 MB / 1.534 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.5682, allocations: 0 / 1.534 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.5688, allocations: 143.8 kB / 1.534 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004733/0.5693, allocations: 72.78 kB / 1.534 GB, free: 13.2 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.5694, allocations: 27.97 kB / 1.535 GB, free: 13.17 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.5715, allocations: 1.547 MB / 1.536 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5715, allocations: 3.938 kB / 1.536 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.5738, allocations: 0.9945 MB / 1.537 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.5744, allocations: 203.1 kB / 1.537 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.5746, allocations: 19.98 kB / 1.537 GB, free: 10.26 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/0.5753, allocations: 59.94 kB / 1.537 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.5755, allocations: 80.8 kB / 1.537 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.5755, allocations: 39.97 kB / 1.537 GB, free: 10.09 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007464/0.5763, allocations: 467 kB / 1.538 GB, free: 9.637 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5763, allocations: 0 / 1.538 GB, free: 9.637 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00102/0.5773, allocations: 319.1 kB / 1.538 GB, free: 9.324 MB / 1.232 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.004496/0.5818, allocations: 2.045 MB / 1.54 GB, free: 7.438 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.5837, allocations: 0.7609 MB / 1.541 GB, free: 6.66 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.5837, allocations: 0 / 1.541 GB, free: 6.66 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.5848, allocations: 496.4 kB / 1.541 GB, free: 6.164 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.5864, allocations: 310.4 kB / 1.542 GB, free: 5.883 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.5985, allocations: 6.219 MB / 1.548 GB, free: 15.51 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008057/0.5993, allocations: 1.019 MB / 1.549 GB, free: 14.46 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009755/0.6003, allocations: 262.7 kB / 1.549 GB, free: 14.2 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/0.6009, allocations: 387.2 kB / 1.549 GB, free: 13.82 MB / 1.248 GB Notification: Performance of SimCode: time 1.293e-06/0.6009, allocations: 0 / 1.549 GB, free: 13.82 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.6688, allocations: 22.24 MB / 1.571 GB, free: 7.785 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.39, allocations: 3.938 kB / 1.571 GB, free: 7.781 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.131652765907347]