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.001729/0.001729, allocations: 111.6 kB / 18.13 MB, free: 3.684 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.002047/0.002047, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 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.434/1.434, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] 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.733/2.733, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 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.001964/0.001964, allocations: 63.91 kB / 1.108 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8267, allocations: 168.7 MB / 1.273 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008065/0.8347, allocations: 5.18 MB / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1807/1.015, allocations: 151.2 MB / 1.426 GB, free: 7.266 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007524/1.016, allocations: 19.88 kB / 1.426 GB, free: 7.246 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005946/1.017, allocations: 206.1 kB / 1.426 GB, free: 7.043 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/1.018, allocations: 0.5696 MB / 1.426 GB, free: 6.473 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/1.02, allocations: 0.876 MB / 1.427 GB, free: 5.602 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001692/1.022, allocations: 1.44 MB / 1.429 GB, free: 4.156 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007816/1.023, allocations: 475.8 kB / 1.429 GB, free: 3.668 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/1.024, allocations: 0.51 MB / 1.43 GB, free: 3.156 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/1.024, allocations: 0.5446 MB / 1.43 GB, free: 2.609 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/1.025, allocations: 124 kB / 1.43 GB, free: 2.488 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/1.026, allocations: 0.4918 MB / 1.431 GB, free: 1.996 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/1.026, allocations: 315 kB / 1.431 GB, free: 1.688 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006123/1.027, allocations: 0.6103 MB / 1.432 GB, free: 1.074 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/1.029, allocations: 1.735 MB / 1.433 GB, free: 15.33 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.029, allocations: 0 / 1.433 GB, free: 15.33 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.714e-06/1.029, allocations: 4 kB / 1.433 GB, free: 15.33 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.852e-05/1.029, allocations: 0 / 1.433 GB, free: 15.33 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.00296/1.032, allocations: 1.541 MB / 1.435 GB, free: 13.73 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.032, allocations: 12.03 kB / 1.435 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/1.032, allocations: 148.1 kB / 1.435 GB, free: 13.56 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.034, allocations: 220 kB / 1.435 GB, free: 13.35 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/1.035, allocations: 0.7852 MB / 1.436 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/1.035, allocations: 78 kB / 1.436 GB, free: 12.45 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/1.035, allocations: 88 kB / 1.436 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/1.037, allocations: 1.011 MB / 1.437 GB, free: 11.31 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/1.037, allocations: 0 / 1.437 GB, free: 11.31 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.037, allocations: 43.98 kB / 1.437 GB, free: 11.27 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/1.037, allocations: 24 kB / 1.437 GB, free: 11.24 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.039, allocations: 1.171 MB / 1.438 GB, free: 10.07 MB / 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.004719/1.044, allocations: 2.864 MB / 1.441 GB, free: 7.082 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/1.046, allocations: 0.9283 MB / 1.442 GB, free: 6.137 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/1.047, allocations: 294.6 kB / 1.442 GB, free: 5.844 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/1.047, allocations: 32.61 kB / 1.442 GB, free: 5.812 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009677/1.048, allocations: 0.4986 MB / 1.443 GB, free: 5.297 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.405e-06/1.048, allocations: 0 / 1.443 GB, free: 5.297 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003448/1.051, allocations: 1.233 MB / 1.444 GB, free: 4.035 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.052, allocations: 196.6 kB / 1.444 GB, free: 3.801 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008644/1.052, allocations: 0.6411 MB / 1.445 GB, free: 3.152 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/1.052, allocations: 41.7 kB / 1.445 GB, free: 3.105 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/1.053, allocations: 425 kB / 1.445 GB, free: 2.684 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.053, allocations: 281.6 kB / 1.445 GB, free: 2.406 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/1.053, allocations: 150.6 kB / 1.446 GB, free: 2.25 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.054, allocations: 386.8 kB / 1.446 GB, free: 1.863 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/1.054, allocations: 257.9 kB / 1.446 GB, free: 1.613 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/1.055, allocations: 366.5 kB / 1.447 GB, free: 1.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.056, allocations: 0.6033 MB / 1.447 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.056, allocations: 0 / 1.447 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002005/1.058, allocations: 0.8296 MB / 1.448 GB, free: 15.78 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.058, allocations: 4 kB / 1.448 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.058, allocations: 0 / 1.448 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/1.059, allocations: 84.86 kB / 1.448 GB, free: 15.69 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/1.059, allocations: 159.7 kB / 1.448 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/1.061, allocations: 1.638 MB / 1.45 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/1.062, allocations: 91.47 kB / 1.45 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/1.062, allocations: 35.97 kB / 1.45 GB, free: 13.62 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.0004617/1.063, allocations: 270 kB / 1.45 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/1.063, allocations: 91.42 kB / 1.45 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.065, allocations: 1.097 MB / 1.451 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.065, allocations: 8 kB / 1.451 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/1.065, allocations: 0 / 1.451 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.065, allocations: 7.984 kB / 1.451 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/1.069, allocations: 2.009 MB / 1.453 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.069, allocations: 3.938 kB / 1.453 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/1.07, allocations: 151.8 kB / 1.454 GB, free: 9.902 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/1.07, allocations: 76.72 kB / 1.454 GB, free: 9.824 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/1.07, allocations: 23.98 kB / 1.454 GB, free: 9.801 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/1.072, allocations: 1.67 MB / 1.455 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.072, allocations: 0 / 1.455 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/1.074, allocations: 1.03 MB / 1.456 GB, free: 6.938 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/1.075, allocations: 272.2 kB / 1.456 GB, free: 6.652 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.075, allocations: 23.98 kB / 1.457 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/1.076, allocations: 65.97 kB / 1.457 GB, free: 6.566 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.076, allocations: 76.83 kB / 1.457 GB, free: 6.492 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/1.076, allocations: 35.98 kB / 1.457 GB, free: 6.457 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006303/1.077, allocations: 471 kB / 1.457 GB, free: 6 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.077, allocations: 0 / 1.457 GB, free: 6 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008889/1.077, allocations: 339.1 kB / 1.457 GB, free: 5.668 MB / 1.154 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.004302/1.082, allocations: 2.082 MB / 1.459 GB, free: 3.75 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001919/1.084, allocations: 0.7923 MB / 1.46 GB, free: 2.945 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.084, allocations: 4 kB / 1.46 GB, free: 2.941 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.085, allocations: 0.5002 MB / 1.461 GB, free: 2.426 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.086, allocations: 312.2 kB / 1.461 GB, free: 2.141 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.097, allocations: 6.452 MB / 1.467 GB, free: 11.53 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/1.098, allocations: 1.039 MB / 1.468 GB, free: 10.46 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000895/1.099, allocations: 282.8 kB / 1.469 GB, free: 10.18 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/1.1, allocations: 399.3 kB / 1.469 GB, free: 9.793 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/1.1, allocations: 0 / 1.469 GB, free: 9.793 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06235/1.162, allocations: 22.44 MB / 1.491 GB, free: 3.586 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.57, allocations: 4.062 kB / 1.491 GB, free: 3.582 MB / 1.186 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 20.765945196151733]