Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001866/0.001866, 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.00212/0.00212, allocations: 217.1 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 8.027 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.148/3.148, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001987/0.001987, allocations: 71.03 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007393/0.3572, allocations: 5.109 MB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.5414, allocations: 154.3 MB / 1.508 GB, free: 8.508 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009573/0.5423, allocations: 23.81 kB / 1.509 GB, free: 8.484 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.5431, allocations: 202.1 kB / 1.509 GB, free: 8.285 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.5453, allocations: 0.5874 MB / 1.509 GB, free: 7.699 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.548, allocations: 0.9183 MB / 1.51 GB, free: 6.785 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.5501, allocations: 1.495 MB / 1.512 GB, free: 5.281 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008525/0.5509, allocations: 429.6 kB / 1.512 GB, free: 4.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008892/0.5518, allocations: 0.545 MB / 1.513 GB, free: 4.293 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.5525, allocations: 0.5485 MB / 1.513 GB, free: 3.742 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.5527, allocations: 124 kB / 1.513 GB, free: 3.621 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.5538, allocations: 0.5464 MB / 1.514 GB, free: 3.074 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.5541, allocations: 315 kB / 1.514 GB, free: 2.766 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000564/0.5547, allocations: 0.5985 MB / 1.515 GB, free: 2.164 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.557, allocations: 1.778 MB / 1.516 GB, free: 388 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.557, allocations: 0 / 1.516 GB, free: 388 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.914e-06/0.557, allocations: 0 / 1.516 GB, free: 388 kB / 1.201 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.557, allocations: 4 kB / 1.516 GB, free: 384 kB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002884/0.5599, allocations: 1.495 MB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5599, allocations: 12.03 kB / 1.518 GB, free: 14.83 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.5601, allocations: 143.8 kB / 1.518 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.5619, allocations: 259.9 kB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.5633, allocations: 0.7374 MB / 1.519 GB, free: 13.66 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.5634, allocations: 70 kB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5635, allocations: 91.94 kB / 1.519 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5652, allocations: 0.9808 MB / 1.52 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5652, allocations: 3.938 kB / 1.52 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-05/0.5653, allocations: 40 kB / 1.52 GB, free: 12.44 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.5653, allocations: 28 kB / 1.52 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.5672, allocations: 1.151 MB / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.5719, allocations: 2.905 MB / 1.524 GB, free: 8.227 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.5739, allocations: 0.8515 MB / 1.525 GB, free: 7.363 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.5745, allocations: 298.7 kB / 1.525 GB, free: 7.07 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.487e-05/0.5746, allocations: 38.73 kB / 1.525 GB, free: 7.035 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000943/0.5755, allocations: 0.5315 MB / 1.526 GB, free: 6.488 MB / 1.217 GB Notification: Performance of pre-optimization done (n=88): time 2.285e-06/0.5755, allocations: 0 / 1.526 GB, free: 6.488 MB / 1.217 GB Notification: Performance of matching and sorting (n=88): time 0.003344/0.5788, allocations: 1.231 MB / 1.527 GB, free: 5.254 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.579, allocations: 192.9 kB / 1.527 GB, free: 5.02 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.5799, allocations: 0.6763 MB / 1.528 GB, free: 4.336 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.5799, allocations: 49.69 kB / 1.528 GB, free: 4.281 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.5803, allocations: 417.1 kB / 1.528 GB, free: 3.867 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.5805, allocations: 297.5 kB / 1.529 GB, free: 3.574 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.5808, allocations: 166.6 kB / 1.529 GB, free: 3.406 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.581, allocations: 390.7 kB / 1.529 GB, free: 3.016 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.5815, allocations: 265.9 kB / 1.529 GB, free: 2.758 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.5822, allocations: 394.5 kB / 1.53 GB, free: 2.34 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.5834, allocations: 0.6242 MB / 1.53 GB, free: 1.707 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.5834, allocations: 4 kB / 1.53 GB, free: 1.703 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002006/0.5854, allocations: 0.8686 MB / 1.531 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5854, allocations: 4.094 kB / 1.531 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5854, allocations: 4 kB / 1.531 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.586, allocations: 84.7 kB / 1.531 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.5867, allocations: 171.8 kB / 1.531 GB, free: 0.5625 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.5888, allocations: 1.537 MB / 1.533 GB, free: 14.91 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.5896, allocations: 99.48 kB / 1.533 GB, free: 14.81 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.5897, allocations: 35.97 kB / 1.533 GB, free: 14.77 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: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.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 (96): * Single equations (assignments): 95 * 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.0004723/0.5902, allocations: 276 kB / 1.533 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.5903, allocations: 91.5 kB / 1.533 GB, free: 14.41 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.5929, allocations: 1.203 MB / 1.535 GB, free: 13.19 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5929, allocations: 12 kB / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5929, allocations: 0 / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.593, allocations: 3.984 kB / 1.535 GB, free: 13.17 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.5966, allocations: 2.082 MB / 1.537 GB, free: 11.03 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5966, allocations: 4 kB / 1.537 GB, free: 11.03 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/0.5973, allocations: 163.8 kB / 1.537 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/0.5977, allocations: 76.78 kB / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.5978, allocations: 23.98 kB / 1.537 GB, free: 10.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5997, allocations: 1.566 MB / 1.538 GB, free: 9.082 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5997, allocations: 4.031 kB / 1.538 GB, free: 9.078 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.6019, allocations: 1.1 MB / 1.539 GB, free: 7.961 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.6024, allocations: 223 kB / 1.54 GB, free: 7.742 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6026, allocations: 23.94 kB / 1.54 GB, free: 7.719 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/0.6032, allocations: 71.92 kB / 1.54 GB, free: 7.648 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.6034, allocations: 92.77 kB / 1.54 GB, free: 7.559 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.6035, allocations: 39.97 kB / 1.54 GB, free: 7.52 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006558/0.6042, allocations: 491 kB / 1.54 GB, free: 7.047 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6042, allocations: 0 / 1.54 GB, free: 7.047 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009612/0.6051, allocations: 347.1 kB / 1.541 GB, free: 6.707 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * 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.004469/0.6096, allocations: 2.163 MB / 1.543 GB, free: 4.695 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.6114, allocations: 0.8391 MB / 1.544 GB, free: 3.844 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6114, allocations: 0 / 1.544 GB, free: 3.844 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009768/0.6124, allocations: 0.5275 MB / 1.544 GB, free: 3.301 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.6138, allocations: 309.5 kB / 1.544 GB, free: 3.02 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.6261, allocations: 6.661 MB / 1.551 GB, free: 12.21 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/0.6269, allocations: 1.052 MB / 1.552 GB, free: 11.12 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009353/0.6278, allocations: 279.2 kB / 1.552 GB, free: 10.85 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.6285, allocations: 423.3 kB / 1.553 GB, free: 10.43 MB / 1.248 GB Notification: Performance of SimCode: time 1.242e-06/0.6285, allocations: 0 / 1.553 GB, free: 10.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/0.6964, allocations: 23.95 MB / 1.576 GB, free: 2.684 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.3, allocations: 7.922 kB / 1.576 GB, free: 2.676 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,solAzi.solAzi Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solAzi.solAzi,solAzi.solTim [Calling sys.exit(0), Time elapsed: 21.38782508899976]