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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.541/2.541, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 71.88 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7428, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005236/0.748, allocations: 5.179 MB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.9149, allocations: 151.2 MB / 1.424 GB, free: 3.57 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008921/0.9158, allocations: 24.62 kB / 1.424 GB, free: 3.559 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.9164, allocations: 202.3 kB / 1.424 GB, free: 3.379 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.9179, allocations: 0.5662 MB / 1.425 GB, free: 2.957 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.9198, allocations: 0.8702 MB / 1.426 GB, free: 2.289 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.9211, allocations: 1.444 MB / 1.427 GB, free: 1.391 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007106/0.9218, allocations: 467.9 kB / 1.428 GB, free: 1.051 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.9224, allocations: 0.5165 MB / 1.428 GB, free: 0.7383 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.923, allocations: 0.5498 MB / 1.429 GB, free: 352 kB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.9232, allocations: 126.6 kB / 1.429 GB, free: 352 kB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.924, allocations: 497.6 kB / 1.429 GB, free: 164 kB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.9243, allocations: 320.8 kB / 1.43 GB, free: 15.91 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000522/0.9248, allocations: 0.6018 MB / 1.43 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.9267, allocations: 1.74 MB / 1.432 GB, free: 14.21 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.9267, allocations: 1.25 kB / 1.432 GB, free: 14.21 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9267, allocations: 0 / 1.432 GB, free: 14.21 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.9267, allocations: 0 / 1.432 GB, free: 14.21 MB / 1.123 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.002502/0.9292, allocations: 1.546 MB / 1.433 GB, free: 12.98 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.9292, allocations: 13.75 kB / 1.433 GB, free: 12.98 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.9294, allocations: 148 kB / 1.433 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.9304, allocations: 218.7 kB / 1.434 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9315, allocations: 0.7906 MB / 1.434 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.9316, allocations: 76.44 kB / 1.435 GB, free: 12.07 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.9317, allocations: 88.5 kB / 1.435 GB, free: 12.04 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.9333, allocations: 1.01 MB / 1.436 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.9333, allocations: 0 / 1.436 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.9334, allocations: 41.56 kB / 1.436 GB, free: 11.37 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.9334, allocations: 22.69 kB / 1.436 GB, free: 11.37 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.9352, allocations: 1.178 MB / 1.437 GB, free: 10.8 MB / 1.123 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.004021/0.9393, allocations: 2.86 MB / 1.44 GB, free: 8.188 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.9416, allocations: 0.9242 MB / 1.44 GB, free: 7.246 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005784/0.9422, allocations: 298.6 kB / 1.441 GB, free: 6.949 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/0.9423, allocations: 36.55 kB / 1.441 GB, free: 6.914 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008601/0.9431, allocations: 0.4959 MB / 1.441 GB, free: 6.398 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.054e-06/0.9431, allocations: 0 / 1.441 GB, free: 6.398 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003265/0.9464, allocations: 1.233 MB / 1.443 GB, free: 5.137 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9465, allocations: 196.6 kB / 1.443 GB, free: 4.902 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.9473, allocations: 0.6411 MB / 1.443 GB, free: 4.258 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.9473, allocations: 41.7 kB / 1.443 GB, free: 4.211 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.9476, allocations: 433 kB / 1.444 GB, free: 3.781 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.9478, allocations: 273.7 kB / 1.444 GB, free: 3.512 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.9481, allocations: 146.6 kB / 1.444 GB, free: 3.363 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9482, allocations: 394.8 kB / 1.445 GB, free: 2.969 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.9488, allocations: 253.9 kB / 1.445 GB, free: 2.723 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.9494, allocations: 374.5 kB / 1.445 GB, free: 2.328 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.9506, allocations: 0.5955 MB / 1.446 GB, free: 1.723 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9506, allocations: 7.984 kB / 1.446 GB, free: 1.715 MB / 1.123 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001895/0.9525, allocations: 0.8218 MB / 1.447 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9525, allocations: 4 kB / 1.447 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.9525, allocations: 3.984 kB / 1.447 GB, free: 0.875 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.9531, allocations: 84.81 kB / 1.447 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.9537, allocations: 155.8 kB / 1.447 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.9558, allocations: 1.633 MB / 1.448 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.9564, allocations: 101.5 kB / 1.448 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.9565, allocations: 40.05 kB / 1.449 GB, free: 14.72 MB / 1.139 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.0003598/0.9569, allocations: 273.8 kB / 1.449 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.957, allocations: 87.44 kB / 1.449 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.9594, allocations: 1.093 MB / 1.45 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.9594, allocations: 12 kB / 1.45 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.9594, allocations: 0 / 1.45 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.9594, allocations: 7.984 kB / 1.45 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.9626, allocations: 2.005 MB / 1.452 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9627, allocations: 4 kB / 1.452 GB, free: 11.15 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.9632, allocations: 151.6 kB / 1.452 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.9636, allocations: 76.72 kB / 1.452 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.9637, allocations: 27.97 kB / 1.452 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.9655, allocations: 1.666 MB / 1.454 GB, free: 9.094 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9655, allocations: 0 / 1.454 GB, free: 9.094 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.9675, allocations: 1.03 MB / 1.455 GB, free: 8.047 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.9679, allocations: 272.2 kB / 1.455 GB, free: 7.762 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.968, allocations: 23.98 kB / 1.455 GB, free: 7.738 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.9686, allocations: 63.94 kB / 1.455 GB, free: 7.676 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.9688, allocations: 72.89 kB / 1.455 GB, free: 7.605 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.9688, allocations: 43.91 kB / 1.455 GB, free: 7.562 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005515/0.9694, allocations: 467 kB / 1.456 GB, free: 7.109 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.9694, allocations: 0 / 1.456 GB, free: 7.109 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008447/0.9702, allocations: 335.1 kB / 1.456 GB, free: 6.781 MB / 1.139 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.003959/0.9742, allocations: 2.074 MB / 1.458 GB, free: 4.863 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.9758, allocations: 0.796 MB / 1.459 GB, free: 4.055 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9758, allocations: 4 kB / 1.459 GB, free: 4.051 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.9768, allocations: 0.4964 MB / 1.459 GB, free: 3.539 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.9779, allocations: 316.8 kB / 1.46 GB, free: 3.254 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.9879, allocations: 6.446 MB / 1.466 GB, free: 12.65 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.9885, allocations: 1.045 MB / 1.467 GB, free: 11.58 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007296/0.9893, allocations: 278.8 kB / 1.467 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/0.9898, allocations: 403.2 kB / 1.468 GB, free: 10.91 MB / 1.154 GB Notification: Performance of SimCode: time 7.41e-07/0.9898, allocations: 0 / 1.468 GB, free: 10.91 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05589/1.046, allocations: 22.41 MB / 1.489 GB, free: 4.734 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.84, allocations: 8.047 kB / 1.489 GB, free: 4.727 MB / 1.17 GB " [Timeout remaining time 287] (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: 18.39322769800492]