Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001703/0.001703, allocations: 103.7 kB / 16.45 MB, free: 6.449 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.001644/0.001644, allocations: 210.4 kB / 19.43 MB, free: 3.637 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 / 252.8 MB, free: 9.148 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.784/2.784, allocations: 476.7 MB / 0.7672 GB, free: 5.242 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.002026/0.002026, allocations: 75.89 kB / 1.112 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.816/0.818, allocations: 169.9 MB / 1.278 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007824/0.8258, allocations: 5.194 MB / 1.283 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1848/1.011, allocations: 154 MB / 1.434 GB, free: 13.67 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/1.012, allocations: 23.81 kB / 1.434 GB, free: 13.65 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008484/1.013, allocations: 202.1 kB / 1.434 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/1.015, allocations: 0.5858 MB / 1.435 GB, free: 12.87 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/1.017, allocations: 0.8676 MB / 1.435 GB, free: 12 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002012/1.019, allocations: 1.471 MB / 1.437 GB, free: 10.53 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008678/1.02, allocations: 476.5 kB / 1.437 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008491/1.021, allocations: 0.5489 MB / 1.438 GB, free: 9.488 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/1.022, allocations: 0.5523 MB / 1.438 GB, free: 8.934 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/1.022, allocations: 128 kB / 1.438 GB, free: 8.809 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/1.023, allocations: 0.523 MB / 1.439 GB, free: 8.285 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/1.023, allocations: 315 kB / 1.439 GB, free: 7.977 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005928/1.024, allocations: 0.6141 MB / 1.44 GB, free: 7.359 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/1.026, allocations: 1.79 MB / 1.442 GB, free: 5.562 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.026, allocations: 0 / 1.442 GB, free: 5.562 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.383e-06/1.026, allocations: 3.938 kB / 1.442 GB, free: 5.559 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.578e-05/1.026, allocations: 0 / 1.442 GB, free: 5.559 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002956/1.029, allocations: 1.564 MB / 1.443 GB, free: 3.934 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.029, allocations: 8.031 kB / 1.443 GB, free: 3.926 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/1.029, allocations: 148.1 kB / 1.443 GB, free: 3.773 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/1.031, allocations: 275.9 kB / 1.444 GB, free: 3.504 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.033, allocations: 0.8057 MB / 1.444 GB, free: 2.656 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/1.033, allocations: 73.94 kB / 1.444 GB, free: 2.582 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.033, allocations: 96 kB / 1.445 GB, free: 2.488 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/1.035, allocations: 1.007 MB / 1.445 GB, free: 1.445 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.035, allocations: 4 kB / 1.445 GB, free: 1.441 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/1.035, allocations: 36 kB / 1.446 GB, free: 1.406 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/1.035, allocations: 27.94 kB / 1.446 GB, free: 1.379 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/1.037, allocations: 1.171 MB / 1.447 GB, free: 212 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.004885/1.042, allocations: 2.876 MB / 1.45 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/1.045, allocations: 0.9282 MB / 1.45 GB, free: 12.26 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/1.045, allocations: 278.7 kB / 1.451 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.382e-05/1.045, allocations: 36.59 kB / 1.451 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/1.046, allocations: 0.5034 MB / 1.451 GB, free: 11.43 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.345e-06/1.046, allocations: 0 / 1.451 GB, free: 11.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003669/1.05, allocations: 1.233 MB / 1.452 GB, free: 10.17 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.05, allocations: 192.6 kB / 1.453 GB, free: 9.938 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.051, allocations: 0.6646 MB / 1.453 GB, free: 9.262 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/1.051, allocations: 41.7 kB / 1.453 GB, free: 9.215 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/1.052, allocations: 445 kB / 1.454 GB, free: 8.773 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/1.052, allocations: 281.6 kB / 1.454 GB, free: 8.496 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/1.052, allocations: 150.6 kB / 1.454 GB, free: 8.344 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002214/1.052, allocations: 386.8 kB / 1.454 GB, free: 7.957 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/1.053, allocations: 257.9 kB / 1.455 GB, free: 7.703 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007316/1.054, allocations: 370.5 kB / 1.455 GB, free: 7.316 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/1.055, allocations: 0.5994 MB / 1.456 GB, free: 6.707 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.055, allocations: 3.938 kB / 1.456 GB, free: 6.703 MB / 1.154 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002331/1.057, allocations: 0.8297 MB / 1.456 GB, free: 5.859 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.057, allocations: 12 kB / 1.456 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.057, allocations: 0 / 1.456 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/1.058, allocations: 88.7 kB / 1.457 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/1.059, allocations: 155.8 kB / 1.457 GB, free: 5.605 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/1.061, allocations: 1.627 MB / 1.458 GB, free: 3.836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008379/1.062, allocations: 99.39 kB / 1.458 GB, free: 3.738 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/1.062, allocations: 31.98 kB / 1.458 GB, free: 3.707 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: 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 (88): * Single equations (assignments): 87 * 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.0005125/1.062, allocations: 282 kB / 1.459 GB, free: 3.422 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/1.063, allocations: 87.44 kB / 1.459 GB, free: 3.336 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/1.065, allocations: 1.097 MB / 1.46 GB, free: 2.223 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.065, allocations: 12 kB / 1.46 GB, free: 2.211 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/1.065, allocations: 0 / 1.46 GB, free: 2.211 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.065, allocations: 3.984 kB / 1.46 GB, free: 2.207 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/1.069, allocations: 2.025 MB / 1.462 GB, free: 124 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.069, allocations: 4 kB / 1.462 GB, free: 120 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/1.07, allocations: 147.8 kB / 1.462 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/1.07, allocations: 72.72 kB / 1.462 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/1.071, allocations: 27.98 kB / 1.462 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/1.073, allocations: 1.658 MB / 1.464 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.073, allocations: 0 / 1.464 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/1.075, allocations: 1.03 MB / 1.465 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/1.076, allocations: 280.2 kB / 1.465 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.076, allocations: 27.94 kB / 1.465 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/1.077, allocations: 65.64 kB / 1.465 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.077, allocations: 68.91 kB / 1.465 GB, free: 12.57 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/1.077, allocations: 43.91 kB / 1.465 GB, free: 12.53 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007146/1.078, allocations: 487 kB / 1.466 GB, free: 12.06 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.078, allocations: 0 / 1.466 GB, free: 12.06 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009869/1.079, allocations: 339.1 kB / 1.466 GB, free: 11.73 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: 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 (94): * Single equations (assignments): 88 * 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.004542/1.083, allocations: 2.078 MB / 1.468 GB, free: 9.797 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001935/1.085, allocations: 0.8079 MB / 1.469 GB, free: 8.98 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.085, allocations: 3.984 kB / 1.469 GB, free: 8.977 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.086, allocations: 0.4885 MB / 1.469 GB, free: 8.477 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.087, allocations: 318.7 kB / 1.47 GB, free: 8.188 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.099, allocations: 6.518 MB / 1.476 GB, free: 1.512 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/1.1, allocations: 1.049 MB / 1.477 GB, free: 444 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009151/1.101, allocations: 275 kB / 1.477 GB, free: 164 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/1.101, allocations: 411.3 kB / 1.478 GB, free: 15.75 MB / 1.186 GB Notification: Performance of SimCode: time 1.473e-06/1.101, allocations: 7.938 kB / 1.478 GB, free: 15.75 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06774/1.169, allocations: 22.68 MB / 1.5 GB, free: 9.41 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.78, allocations: 4.062 kB / 1.5 GB, free: 9.406 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.099972133059055]