Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001932/0.001932, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002281/0.002281, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 8.922 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.63/2.63, allocations: 476.7 MB / 0.7672 GB, free: 5.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SolarAzimuth,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_11_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.00197/0.00197, allocations: 71.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7859, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007282/0.7932, allocations: 5.061 MB / 1.283 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1782/0.9714, allocations: 154.1 MB / 1.434 GB, free: 13.59 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/0.9723, allocations: 23.81 kB / 1.434 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.973, allocations: 198.1 kB / 1.434 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.9751, allocations: 0.5871 MB / 1.434 GB, free: 12.79 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.9774, allocations: 0.9072 MB / 1.435 GB, free: 11.88 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.9795, allocations: 1.491 MB / 1.437 GB, free: 10.39 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009465/0.9804, allocations: 441 kB / 1.437 GB, free: 9.934 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.9814, allocations: 0.545 MB / 1.438 GB, free: 9.387 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/0.9823, allocations: 0.5484 MB / 1.438 GB, free: 8.836 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.9826, allocations: 124 kB / 1.438 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.9838, allocations: 0.5425 MB / 1.439 GB, free: 8.172 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.9842, allocations: 314.9 kB / 1.439 GB, free: 7.863 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007929/0.985, allocations: 0.5985 MB / 1.44 GB, free: 7.262 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.9879, allocations: 1.782 MB / 1.442 GB, free: 5.473 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9879, allocations: 0 / 1.442 GB, free: 5.473 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9879, allocations: 0 / 1.442 GB, free: 5.473 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.697e-05/0.9879, allocations: 0 / 1.442 GB, free: 5.473 MB / 1.139 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.003733/0.9917, allocations: 1.57 MB / 1.443 GB, free: 3.844 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.9917, allocations: 12.03 kB / 1.443 GB, free: 3.832 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003018/0.992, allocations: 139.8 kB / 1.443 GB, free: 3.688 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.9942, allocations: 268 kB / 1.444 GB, free: 3.426 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.9961, allocations: 0.8057 MB / 1.444 GB, free: 2.578 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.9962, allocations: 66 kB / 1.444 GB, free: 2.512 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.9964, allocations: 88 kB / 1.444 GB, free: 2.426 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.9985, allocations: 0.973 MB / 1.445 GB, free: 1.414 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.9985, allocations: 3.938 kB / 1.445 GB, free: 1.41 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.9986, allocations: 39.98 kB / 1.445 GB, free: 1.371 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.9987, allocations: 24 kB / 1.445 GB, free: 1.348 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/1.001, allocations: 1.155 MB / 1.447 GB, free: 196 kB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005653/1.007, allocations: 2.904 MB / 1.449 GB, free: 13.17 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/1.009, allocations: 0.9264 MB / 1.45 GB, free: 12.22 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/1.01, allocations: 301.9 kB / 1.451 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/1.01, allocations: 28.61 kB / 1.451 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.011, allocations: 0.5393 MB / 1.451 GB, free: 11.34 MB / 1.154 GB Notification: Performance of pre-optimization done (n=88): time 2.956e-06/1.011, allocations: 0 / 1.451 GB, free: 11.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=88): time 0.003674/1.014, allocations: 1.31 MB / 1.452 GB, free: 10 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.015, allocations: 196.9 kB / 1.453 GB, free: 9.77 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.016, allocations: 0.6724 MB / 1.453 GB, free: 9.086 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.016, allocations: 41.7 kB / 1.453 GB, free: 9.039 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/1.016, allocations: 421.1 kB / 1.454 GB, free: 8.621 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/1.016, allocations: 301.5 kB / 1.454 GB, free: 8.324 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/1.017, allocations: 166.5 kB / 1.454 GB, free: 8.156 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002109/1.017, allocations: 394.7 kB / 1.455 GB, free: 7.762 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/1.017, allocations: 261.9 kB / 1.455 GB, free: 7.504 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/1.018, allocations: 394.5 kB / 1.455 GB, free: 7.094 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/1.019, allocations: 0.6243 MB / 1.456 GB, free: 6.457 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.019, allocations: 4 kB / 1.456 GB, free: 6.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002215/1.022, allocations: 0.8687 MB / 1.457 GB, free: 5.574 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.022, allocations: 4 kB / 1.457 GB, free: 5.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.022, allocations: 3.984 kB / 1.457 GB, free: 5.566 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/1.022, allocations: 84.91 kB / 1.457 GB, free: 5.48 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/1.023, allocations: 167.7 kB / 1.457 GB, free: 5.316 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/1.025, allocations: 1.63 MB / 1.459 GB, free: 3.539 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/1.026, allocations: 103.4 kB / 1.459 GB, free: 3.438 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.026, allocations: 39.97 kB / 1.459 GB, free: 3.398 MB / 1.154 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.0005468/1.027, allocations: 276.1 kB / 1.459 GB, free: 3.121 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/1.027, allocations: 91.44 kB / 1.459 GB, free: 3.031 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/1.03, allocations: 1.191 MB / 1.46 GB, free: 1.828 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.03, allocations: 12 kB / 1.46 GB, free: 1.816 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.03, allocations: 0 / 1.46 GB, free: 1.816 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.03, allocations: 7.969 kB / 1.46 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/1.035, allocations: 2.115 MB / 1.462 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.035, allocations: 0 / 1.462 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/1.035, allocations: 171.7 kB / 1.462 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/1.036, allocations: 68.8 kB / 1.462 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.599e-05/1.036, allocations: 35.97 kB / 1.463 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/1.038, allocations: 1.658 MB / 1.464 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.038, allocations: 0 / 1.464 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/1.041, allocations: 1.096 MB / 1.465 GB, free: 12.44 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006767/1.041, allocations: 300.1 kB / 1.465 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/1.041, allocations: 24 kB / 1.466 GB, free: 12.1 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/1.042, allocations: 67.92 kB / 1.466 GB, free: 12.04 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.043, allocations: 84.81 kB / 1.466 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.741e-05/1.043, allocations: 43.92 kB / 1.466 GB, free: 11.91 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000816/1.043, allocations: 491 kB / 1.466 GB, free: 11.44 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/1.043, allocations: 4 kB / 1.466 GB, free: 11.43 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001137/1.045, allocations: 355.1 kB / 1.466 GB, free: 11.09 MB / 1.17 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.00486/1.049, allocations: 2.168 MB / 1.469 GB, free: 9.074 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.052, allocations: 0.8428 MB / 1.469 GB, free: 8.223 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.052, allocations: 0 / 1.469 GB, free: 8.223 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.053, allocations: 0.5316 MB / 1.47 GB, free: 7.68 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.054, allocations: 308.7 kB / 1.47 GB, free: 7.398 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.067, allocations: 6.671 MB / 1.477 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/1.068, allocations: 1.048 MB / 1.478 GB, free: 15.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009382/1.069, allocations: 279.2 kB / 1.478 GB, free: 15.22 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/1.069, allocations: 419.2 kB / 1.478 GB, free: 14.81 MB / 1.186 GB Notification: Performance of SimCode: time 9.02e-07/1.069, allocations: 0 / 1.478 GB, free: 14.81 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06667/1.136, allocations: 23.35 MB / 1.501 GB, free: 7.801 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.89, allocations: 8 kB / 1.501 GB, free: 7.793 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.948839030927047]