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.001731/0.001731, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002605/0.002605, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.973 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.207/3.207, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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.001963/0.001963, allocations: 66.72 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.365, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.008418/0.3734, allocations: 5.464 MB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1923/0.5657, allocations: 154.3 MB / 1.509 GB, free: 8.09 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.5668, allocations: 23.81 kB / 1.509 GB, free: 8.066 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007958/0.5676, allocations: 214 kB / 1.509 GB, free: 7.855 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.5698, allocations: 0.6276 MB / 1.51 GB, free: 7.227 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.5721, allocations: 0.9196 MB / 1.511 GB, free: 6.312 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.5743, allocations: 1.592 MB / 1.512 GB, free: 4.711 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.5752, allocations: 477 kB / 1.513 GB, free: 4.219 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009681/0.5762, allocations: 0.5918 MB / 1.513 GB, free: 3.625 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008883/0.5771, allocations: 0.605 MB / 1.514 GB, free: 3.02 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.5773, allocations: 139.9 kB / 1.514 GB, free: 2.883 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.5786, allocations: 0.562 MB / 1.514 GB, free: 2.32 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.579, allocations: 338.9 kB / 1.515 GB, free: 1.988 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007156/0.5797, allocations: 0.6646 MB / 1.515 GB, free: 1.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.5825, allocations: 1.907 MB / 1.517 GB, free: 15.41 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5825, allocations: 0 / 1.517 GB, free: 15.41 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5825, allocations: 0 / 1.517 GB, free: 15.41 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.913e-05/0.5826, allocations: 3.938 kB / 1.517 GB, free: 15.4 MB / 1.217 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.003306/0.5859, allocations: 1.581 MB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5859, allocations: 8.031 kB / 1.519 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.5861, allocations: 160.5 kB / 1.519 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008779/0.5949, allocations: 0.8857 MB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.5968, allocations: 0.7842 MB / 1.521 GB, free: 11.91 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.5969, allocations: 81.94 kB / 1.521 GB, free: 11.83 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.5971, allocations: 100 kB / 1.521 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/0.6011, allocations: 1.352 MB / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.6011, allocations: 4 kB / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.6013, allocations: 40 kB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.6013, allocations: 24 kB / 1.522 GB, free: 10.25 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005925/0.6072, allocations: 1.686 MB / 1.524 GB, free: 8.555 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007654/0.6149, allocations: 3.595 MB / 1.527 GB, free: 4.812 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007166/0.622, allocations: 1.479 MB / 1.529 GB, free: 3.32 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.6244, allocations: 0.5463 MB / 1.529 GB, free: 2.77 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.6245, allocations: 40.95 kB / 1.529 GB, free: 2.73 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002969/0.6275, allocations: 0.8205 MB / 1.53 GB, free: 1.891 MB / 1.217 GB Notification: Performance of pre-optimization done (n=92): time 2.726e-06/0.6275, allocations: 0 / 1.53 GB, free: 1.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=92): time 0.008965/0.6365, allocations: 1.949 MB / 1.532 GB, free: 15.93 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6366, allocations: 192.9 kB / 1.532 GB, free: 15.7 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.6377, allocations: 0.7077 MB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.6378, allocations: 41.7 kB / 1.533 GB, free: 14.94 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.6382, allocations: 457.1 kB / 1.533 GB, free: 14.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.6386, allocations: 309.3 kB / 1.534 GB, free: 14.18 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.6389, allocations: 186.5 kB / 1.534 GB, free: 13.99 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.639, allocations: 338 kB / 1.534 GB, free: 13.66 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/0.6415, allocations: 0.5132 MB / 1.535 GB, free: 13.14 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.6442, allocations: 0.6349 MB / 1.535 GB, free: 12.48 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00483/0.649, allocations: 1.038 MB / 1.536 GB, free: 11.43 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.649, allocations: 0 / 1.536 GB, free: 11.43 MB / 1.232 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006059/0.6551, allocations: 1.36 MB / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.6551, allocations: 8 kB / 1.538 GB, free: 10.06 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6551, allocations: 0 / 1.538 GB, free: 10.06 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.6557, allocations: 80.83 kB / 1.538 GB, free: 9.977 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.6575, allocations: 279.5 kB / 1.538 GB, free: 9.703 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.6597, allocations: 1.531 MB / 1.54 GB, free: 8.051 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.6616, allocations: 187.3 kB / 1.54 GB, free: 7.867 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.6617, allocations: 44.02 kB / 1.54 GB, free: 7.824 MB / 1.232 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.0006513/0.6624, allocations: 283.3 kB / 1.54 GB, free: 7.539 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.6627, allocations: 103.4 kB / 1.54 GB, free: 7.438 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007203/0.6699, allocations: 1.816 MB / 1.542 GB, free: 5.605 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6699, allocations: 12 kB / 1.542 GB, free: 5.594 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6699, allocations: 0 / 1.542 GB, free: 5.594 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.6699, allocations: 7.969 kB / 1.542 GB, free: 5.586 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.6716, allocations: 1.134 MB / 1.543 GB, free: 4.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6716, allocations: 0 / 1.543 GB, free: 4.41 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.6733, allocations: 259.6 kB / 1.543 GB, free: 4.156 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.6738, allocations: 72.78 kB / 1.543 GB, free: 4.082 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.674, allocations: 39.95 kB / 1.543 GB, free: 4.043 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.676, allocations: 1.555 MB / 1.545 GB, free: 2.367 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.676, allocations: 0 / 1.545 GB, free: 2.367 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/0.6822, allocations: 1.482 MB / 1.546 GB, free: 0.8672 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007213/0.6829, allocations: 242.9 kB / 1.547 GB, free: 0.6289 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.6831, allocations: 24.12 kB / 1.547 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.6847, allocations: 147.8 kB / 1.547 GB, free: 472 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.6849, allocations: 88.83 kB / 1.547 GB, free: 384 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.685, allocations: 47.95 kB / 1.547 GB, free: 336 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007485/0.6857, allocations: 0.5146 MB / 1.547 GB, free: 15.82 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6857, allocations: 0 / 1.547 GB, free: 15.82 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00114/0.6869, allocations: 375 kB / 1.548 GB, free: 15.45 MB / 1.248 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.008316/0.6952, allocations: 2.536 MB / 1.55 GB, free: 13.06 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00599/0.7012, allocations: 1.335 MB / 1.552 GB, free: 11.71 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7012, allocations: 0 / 1.552 GB, free: 11.71 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.7043, allocations: 0.7772 MB / 1.552 GB, free: 10.92 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.7057, allocations: 327.1 kB / 1.553 GB, free: 10.62 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/0.7292, allocations: 8.29 MB / 1.561 GB, free: 2.176 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/0.73, allocations: 1.079 MB / 1.562 GB, free: 1.066 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00147/0.7314, allocations: 379.4 kB / 1.562 GB, free: 0.6914 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/0.7323, allocations: 467.2 kB / 1.563 GB, free: 244 kB / 1.248 GB Notification: Performance of SimCode: time 1.553e-06/0.7323, allocations: 0 / 1.563 GB, free: 244 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09213/0.8244, allocations: 26.59 MB / 1.589 GB, free: 5.863 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.5, allocations: 0 / 1.589 GB, free: 5.863 MB / 1.279 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: 21.580321515999913]