Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.001396/0.001396, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00177/0.00177, allocations: 212.3 kB / 22.25 MB, free: 4.855 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.557/1.557, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.34/3.34, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] 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.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.002143/0.002143, allocations: 65.7 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3903, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007709/0.398, allocations: 4.849 MB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.18/0.578, allocations: 132.9 MB / 1.498 GB, free: 3.824 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.5792, allocations: 27.81 kB / 1.498 GB, free: 3.797 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.5803, allocations: 210 kB / 1.498 GB, free: 3.59 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.5831, allocations: 0.6277 MB / 1.499 GB, free: 2.961 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.5858, allocations: 0.9086 MB / 1.5 GB, free: 2.059 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.5883, allocations: 1.576 MB / 1.501 GB, free: 488 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.5895, allocations: 456.9 kB / 1.502 GB, free: 8 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.5908, allocations: 0.5996 MB / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.592, allocations: 0.5404 MB / 1.503 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.5925, allocations: 140 kB / 1.503 GB, free: 14.73 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.5941, allocations: 0.5114 MB / 1.503 GB, free: 14.21 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005691/0.5946, allocations: 350.9 kB / 1.504 GB, free: 13.87 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.5956, allocations: 0.5287 MB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.5988, allocations: 1.926 MB / 1.506 GB, free: 11.41 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5988, allocations: 0 / 1.506 GB, free: 11.41 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5989, allocations: 4 kB / 1.506 GB, free: 11.4 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.422e-05/0.5989, allocations: 0 / 1.506 GB, free: 11.4 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003974/0.6029, allocations: 1.574 MB / 1.508 GB, free: 9.785 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6029, allocations: 8.031 kB / 1.508 GB, free: 9.777 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003055/0.6032, allocations: 160.5 kB / 1.508 GB, free: 9.613 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008841/0.6121, allocations: 0.8974 MB / 1.509 GB, free: 8.715 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.6143, allocations: 0.788 MB / 1.509 GB, free: 7.898 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.6144, allocations: 74.02 kB / 1.509 GB, free: 7.824 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.6148, allocations: 99.94 kB / 1.51 GB, free: 7.727 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004989/0.6198, allocations: 1.603 MB / 1.511 GB, free: 5.996 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.6198, allocations: 0 / 1.511 GB, free: 5.996 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.62, allocations: 40 kB / 1.511 GB, free: 5.957 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.62, allocations: 28 kB / 1.511 GB, free: 5.93 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006444/0.6264, allocations: 1.647 MB / 1.513 GB, free: 4.281 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008363/0.6348, allocations: 2.942 MB / 1.516 GB, free: 1.273 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.6423, allocations: 1.487 MB / 1.517 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002763/0.6451, allocations: 0.5385 MB / 1.518 GB, free: 15.24 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.6452, allocations: 28.97 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003462/0.6487, allocations: 0.917 MB / 1.519 GB, free: 14.25 MB / 1.217 GB Notification: Performance of pre-optimization done (n=92): time 5.15e-06/0.6487, allocations: 7.938 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of matching and sorting (n=92): time 0.009949/0.6586, allocations: 1.945 MB / 1.52 GB, free: 12.29 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.6588, allocations: 196.9 kB / 1.521 GB, free: 12.05 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.6603, allocations: 0.7 MB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.6604, allocations: 45.7 kB / 1.521 GB, free: 11.29 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.661, allocations: 457.1 kB / 1.522 GB, free: 10.84 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.6614, allocations: 317.3 kB / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.6618, allocations: 186.5 kB / 1.522 GB, free: 10.34 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.662, allocations: 334 kB / 1.523 GB, free: 10.01 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.6646, allocations: 0.5171 MB / 1.523 GB, free: 9.492 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.6674, allocations: 0.7566 MB / 1.524 GB, free: 8.676 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004921/0.6723, allocations: 1.042 MB / 1.525 GB, free: 7.625 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6723, allocations: 4 kB / 1.525 GB, free: 7.621 MB / 1.217 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006159/0.6785, allocations: 1.352 MB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.6785, allocations: 4 kB / 1.526 GB, free: 6.254 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6785, allocations: 7.984 kB / 1.526 GB, free: 6.246 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.6792, allocations: 80.84 kB / 1.526 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.6809, allocations: 275.6 kB / 1.527 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.6833, allocations: 1.53 MB / 1.528 GB, free: 4.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.6852, allocations: 193 kB / 1.528 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.6853, allocations: 43.95 kB / 1.528 GB, free: 4.02 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: 18 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0006869/0.686, allocations: 275.4 kB / 1.529 GB, free: 3.742 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.6864, allocations: 99.38 kB / 1.529 GB, free: 3.645 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007477/0.6939, allocations: 1.823 MB / 1.53 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.6939, allocations: 8 kB / 1.53 GB, free: 1.797 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6939, allocations: 7.984 kB / 1.53 GB, free: 1.789 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.6939, allocations: 3.984 kB / 1.53 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.6958, allocations: 0.959 MB / 1.531 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6958, allocations: 4 kB / 1.531 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.6975, allocations: 259.6 kB / 1.532 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.6979, allocations: 72.78 kB / 1.532 GB, free: 464 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.698, allocations: 39.95 kB / 1.532 GB, free: 424 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.7003, allocations: 1.543 MB / 1.533 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7003, allocations: 0 / 1.533 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.7067, allocations: 1.482 MB / 1.535 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/0.7075, allocations: 243 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.7077, allocations: 23.97 kB / 1.535 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.7095, allocations: 151.8 kB / 1.535 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.7097, allocations: 84.84 kB / 1.535 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.7098, allocations: 47.95 kB / 1.535 GB, free: 12.7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009532/0.7108, allocations: 0.5107 MB / 1.536 GB, free: 12.2 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7108, allocations: 0 / 1.536 GB, free: 12.2 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001225/0.712, allocations: 375 kB / 1.536 GB, free: 11.83 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.008837/0.7208, allocations: 2.568 MB / 1.539 GB, free: 9.438 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006098/0.7269, allocations: 1.342 MB / 1.54 GB, free: 8.082 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7269, allocations: 0 / 1.54 GB, free: 8.082 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003132/0.7301, allocations: 0.7694 MB / 1.541 GB, free: 7.301 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.7319, allocations: 326.5 kB / 1.541 GB, free: 7.008 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/0.758, allocations: 8.299 MB / 1.549 GB, free: 14.56 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.7588, allocations: 492.2 kB / 1.55 GB, free: 14.04 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001624/0.7604, allocations: 391.3 kB / 1.55 GB, free: 13.66 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009405/0.7613, allocations: 467.2 kB / 1.55 GB, free: 13.2 MB / 1.248 GB Notification: Performance of SimCode: time 1.513e-06/0.7613, allocations: 0 / 1.55 GB, free: 13.2 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0789/0.8402, allocations: 27.76 MB / 1.577 GB, free: 1.777 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.92, allocations: 10.41 kB / 1.577 GB, free: 1.77 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.18550210306421]