Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001826/0.001826, allocations: 113 kB / 17.6 MB, free: 4.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.001932/0.001932, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.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.834/2.834, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002942/0.002942, allocations: 67.89 kB / 1.107 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.181, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006997/1.188, allocations: 5.222 MB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2083/1.397, allocations: 151.2 MB / 1.425 GB, free: 3.656 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/1.398, allocations: 16.06 kB / 1.425 GB, free: 3.652 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009214/1.399, allocations: 207.4 kB / 1.425 GB, free: 3.469 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/1.401, allocations: 0.5758 MB / 1.426 GB, free: 3.035 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/1.404, allocations: 0.8831 MB / 1.426 GB, free: 2.355 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002424/1.407, allocations: 1.458 MB / 1.428 GB, free: 1.449 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/1.408, allocations: 475.5 kB / 1.428 GB, free: 1.102 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/1.409, allocations: 0.5196 MB / 1.429 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008958/1.41, allocations: 0.5608 MB / 1.429 GB, free: 396 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/1.41, allocations: 127.5 kB / 1.429 GB, free: 396 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/1.411, allocations: 0.4889 MB / 1.43 GB, free: 208 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/1.411, allocations: 316.9 kB / 1.43 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006638/1.412, allocations: 0.6148 MB / 1.431 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/1.415, allocations: 1.758 MB / 1.433 GB, free: 14.23 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.415, allocations: 0 / 1.433 GB, free: 14.23 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.794e-06/1.415, allocations: 0 / 1.433 GB, free: 14.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.022e-05/1.415, allocations: 1.062 kB / 1.433 GB, free: 14.23 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003191/1.418, allocations: 1.545 MB / 1.434 GB, free: 13.01 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.418, allocations: 9.219 kB / 1.434 GB, free: 13.01 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/1.42, allocations: 318.4 kB / 1.434 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/1.421, allocations: 0.793 MB / 1.435 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/1.421, allocations: 69.88 kB / 1.435 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/1.422, allocations: 93.88 kB / 1.435 GB, free: 12.15 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/1.424, allocations: 1.072 MB / 1.436 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/1.424, allocations: 4 kB / 1.436 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.424, allocations: 46.17 kB / 1.436 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/1.424, allocations: 22.97 kB / 1.436 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/1.426, allocations: 1.267 MB / 1.438 GB, free: 10.85 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.005369/1.432, allocations: 2.953 MB / 1.441 GB, free: 7.805 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/1.435, allocations: 0.9792 MB / 1.441 GB, free: 6.805 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/1.435, allocations: 338.6 kB / 1.442 GB, free: 6.469 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.645e-05/1.435, allocations: 32.61 kB / 1.442 GB, free: 6.438 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/1.437, allocations: 0.5645 MB / 1.442 GB, free: 5.855 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 2.615e-06/1.437, allocations: 0 / 1.442 GB, free: 5.855 MB / 1.123 GB Notification: Performance of matching and sorting (n=84): time 0.0043/1.441, allocations: 1.384 MB / 1.444 GB, free: 4.449 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.441, allocations: 188.9 kB / 1.444 GB, free: 4.219 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.442, allocations: 0.6488 MB / 1.445 GB, free: 3.566 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.685e-05/1.442, allocations: 45.64 kB / 1.445 GB, free: 3.516 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/1.443, allocations: 429.1 kB / 1.445 GB, free: 3.09 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/1.443, allocations: 289.5 kB / 1.445 GB, free: 2.805 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/1.443, allocations: 170.6 kB / 1.445 GB, free: 2.633 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002199/1.443, allocations: 386.8 kB / 1.446 GB, free: 2.246 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008093/1.444, allocations: 329.8 kB / 1.446 GB, free: 1.926 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/1.445, allocations: 419.1 kB / 1.447 GB, free: 1.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/1.447, allocations: 0.714 MB / 1.447 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.447, allocations: 0 / 1.447 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002603/1.449, allocations: 0.9779 MB / 1.448 GB, free: 15.79 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.449, allocations: 4 kB / 1.448 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.449, allocations: 96 / 1.448 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/1.45, allocations: 84.77 kB / 1.448 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/1.451, allocations: 191.7 kB / 1.448 GB, free: 15.51 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.453, allocations: 1.627 MB / 1.45 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.454, allocations: 119.5 kB / 1.45 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/1.454, allocations: 44.03 kB / 1.45 GB, free: 13.57 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (98): * Single equations (assignments): 97 * 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.0005371/1.455, allocations: 267.7 kB / 1.45 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/1.455, allocations: 87.44 kB / 1.451 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/1.458, allocations: 1.202 MB / 1.452 GB, free: 11.99 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.458, allocations: 8 kB / 1.452 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.458, allocations: 0 / 1.452 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.458, allocations: 7.969 kB / 1.452 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/1.462, allocations: 2.148 MB / 1.454 GB, free: 9.773 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.462, allocations: 0 / 1.454 GB, free: 9.773 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/1.463, allocations: 171.7 kB / 1.454 GB, free: 9.605 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/1.463, allocations: 76.78 kB / 1.454 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/1.464, allocations: 27.97 kB / 1.454 GB, free: 9.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/1.466, allocations: 1.666 MB / 1.456 GB, free: 7.691 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.466, allocations: 0 / 1.456 GB, free: 7.691 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/1.468, allocations: 1.116 MB / 1.457 GB, free: 6.555 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/1.469, allocations: 292.1 kB / 1.457 GB, free: 6.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.469, allocations: 24 kB / 1.457 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/1.47, allocations: 79.91 kB / 1.457 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.47, allocations: 76.83 kB / 1.457 GB, free: 6.074 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/1.47, allocations: 43.97 kB / 1.457 GB, free: 6.031 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007141/1.471, allocations: 467 kB / 1.458 GB, free: 5.578 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.471, allocations: 0 / 1.458 GB, free: 5.578 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001051/1.472, allocations: 351.1 kB / 1.458 GB, free: 5.234 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 (97): * Single equations (assignments): 91 * 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.001978/1.474, allocations: 0.6074 MB / 1.459 GB, free: 4.805 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002448/1.476, allocations: 0.9172 MB / 1.46 GB, free: 3.875 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.476, allocations: 4 kB / 1.46 GB, free: 3.871 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/1.478, allocations: 0.5548 MB / 1.46 GB, free: 3.301 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.479, allocations: 307.6 kB / 1.46 GB, free: 3.023 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/1.483, allocations: 1.82 MB / 1.462 GB, free: 1.176 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/1.484, allocations: 1.047 MB / 1.463 GB, free: 100 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001038/1.485, allocations: 279 kB / 1.463 GB, free: 15.82 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/1.485, allocations: 111.3 kB / 1.464 GB, free: 15.71 MB / 1.154 GB Notification: Performance of SimCode: time 7.71e-07/1.485, allocations: 0 / 1.464 GB, free: 15.71 MB / 1.154 GB Notification: Performance of Templates: time 0.03036/1.516, allocations: 16.39 MB / 1.48 GB, free: 15.5 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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: 10.514227317646146]