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.00141/0.001411, allocations: 106.2 kB / 16.4 MB, free: 6.496 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.001399/0.001399, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.401/1.401, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.715/2.715, allocations: 469.8 MB / 0.7491 GB, free: 3.023 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.SkyBrightness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003016/0.003016, allocations: 63.91 kB / 1.073 GB, free: 156 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.7672, allocations: 159.1 MB / 1.229 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006952/0.7742, allocations: 5.177 MB / 1.234 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.9495, allocations: 150.7 MB / 1.381 GB, free: 8.379 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000859/0.9504, allocations: 19.94 kB / 1.381 GB, free: 8.359 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.9511, allocations: 202.1 kB / 1.381 GB, free: 8.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.953, allocations: 0.5648 MB / 1.382 GB, free: 7.598 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.9551, allocations: 0.8521 MB / 1.382 GB, free: 6.75 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.9569, allocations: 1.46 MB / 1.384 GB, free: 5.285 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009951/0.9579, allocations: 0.6699 MB / 1.384 GB, free: 4.586 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007715/0.9587, allocations: 0.5139 MB / 1.385 GB, free: 4.07 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.9595, allocations: 0.5601 MB / 1.386 GB, free: 3.508 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.9597, allocations: 128 kB / 1.386 GB, free: 3.383 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009708/0.9606, allocations: 499.6 kB / 1.386 GB, free: 2.895 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.961, allocations: 319 kB / 1.386 GB, free: 2.582 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006084/0.9616, allocations: 0.618 MB / 1.387 GB, free: 1.961 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.9638, allocations: 1.759 MB / 1.389 GB, free: 200 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9638, allocations: 4 kB / 1.389 GB, free: 196 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9639, allocations: 0 / 1.389 GB, free: 196 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.9639, allocations: 0 / 1.389 GB, free: 196 kB / 1.092 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.002909/0.9668, allocations: 1.553 MB / 1.39 GB, free: 14.57 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.9669, allocations: 12.03 kB / 1.39 GB, free: 14.56 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.967, allocations: 148.3 kB / 1.39 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.9688, allocations: 311.9 kB / 1.391 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.9703, allocations: 0.7971 MB / 1.392 GB, free: 13.27 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.9703, allocations: 70 kB / 1.392 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.9705, allocations: 92 kB / 1.392 GB, free: 13.11 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.9727, allocations: 1.074 MB / 1.393 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.9727, allocations: 0 / 1.393 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.9729, allocations: 40 kB / 1.393 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.9729, allocations: 24 kB / 1.393 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.9754, allocations: 1.268 MB / 1.394 GB, free: 10.67 MB / 1.107 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.005228/0.9807, allocations: 2.972 MB / 1.397 GB, free: 7.574 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.9835, allocations: 1.031 MB / 1.398 GB, free: 6.52 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/0.9844, allocations: 362.6 kB / 1.398 GB, free: 6.164 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.9845, allocations: 34.48 kB / 1.398 GB, free: 6.133 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.9857, allocations: 0.5627 MB / 1.399 GB, free: 5.551 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.855e-06/0.9857, allocations: 0 / 1.399 GB, free: 5.551 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.004171/0.9899, allocations: 1.38 MB / 1.4 GB, free: 4.145 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.9901, allocations: 196.8 kB / 1.4 GB, free: 3.91 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.9911, allocations: 0.6411 MB / 1.401 GB, free: 3.262 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.9912, allocations: 41.7 kB / 1.401 GB, free: 3.215 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.9917, allocations: 440.9 kB / 1.401 GB, free: 2.777 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.992, allocations: 285.6 kB / 1.402 GB, free: 2.496 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.9922, allocations: 154.5 kB / 1.402 GB, free: 2.34 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.9925, allocations: 390.7 kB / 1.402 GB, free: 1.949 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/0.9933, allocations: 301.8 kB / 1.403 GB, free: 1.652 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/0.9942, allocations: 418.5 kB / 1.403 GB, free: 1.219 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.9959, allocations: 0.6866 MB / 1.404 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9959, allocations: 4 kB / 1.404 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002647/0.9986, allocations: 0.9233 MB / 1.405 GB, free: 15.58 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.9986, allocations: 8 kB / 1.405 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9986, allocations: 0 / 1.405 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/0.9992, allocations: 80.86 kB / 1.405 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008027/1, allocations: 179.8 kB / 1.405 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/1.002, allocations: 1.634 MB / 1.406 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/1.003, allocations: 115.5 kB / 1.406 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/1.004, allocations: 27.98 kB / 1.407 GB, free: 13.39 MB / 1.123 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 (90): * Single equations (assignments): 89 * 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.0005983/1.004, allocations: 279.1 kB / 1.407 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/1.004, allocations: 91.44 kB / 1.407 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/1.008, allocations: 1.202 MB / 1.408 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.008, allocations: 12 kB / 1.408 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.008, allocations: 0 / 1.408 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.008, allocations: 3.984 kB / 1.408 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/1.012, allocations: 2.145 MB / 1.41 GB, free: 9.586 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.012, allocations: 3.984 kB / 1.41 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/1.013, allocations: 167.8 kB / 1.41 GB, free: 9.418 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/1.014, allocations: 72.78 kB / 1.41 GB, free: 9.344 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/1.014, allocations: 27.98 kB / 1.41 GB, free: 9.316 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/1.016, allocations: 1.67 MB / 1.412 GB, free: 7.504 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.016, allocations: 4.031 kB / 1.412 GB, free: 7.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/1.018, allocations: 1.123 MB / 1.413 GB, free: 6.355 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/1.019, allocations: 288.1 kB / 1.413 GB, free: 6.055 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.019, allocations: 23.98 kB / 1.413 GB, free: 6.031 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/1.02, allocations: 79.92 kB / 1.414 GB, free: 5.953 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/1.02, allocations: 76.83 kB / 1.414 GB, free: 5.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/1.02, allocations: 39.97 kB / 1.414 GB, free: 5.84 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006351/1.021, allocations: 467 kB / 1.414 GB, free: 5.387 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.021, allocations: 0 / 1.414 GB, free: 5.387 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009196/1.022, allocations: 351 kB / 1.414 GB, free: 5.043 MB / 1.123 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.004829/1.026, allocations: 2.173 MB / 1.417 GB, free: 3.031 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002333/1.029, allocations: 0.9211 MB / 1.417 GB, free: 2.102 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.029, allocations: 0 / 1.417 GB, free: 2.102 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/1.03, allocations: 0.5822 MB / 1.418 GB, free: 1.508 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.032, allocations: 315.5 kB / 1.418 GB, free: 1.219 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.045, allocations: 6.763 MB / 1.425 GB, free: 10.3 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/1.045, allocations: 1.051 MB / 1.426 GB, free: 9.215 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009821/1.046, allocations: 271 kB / 1.426 GB, free: 8.945 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/1.047, allocations: 423.2 kB / 1.427 GB, free: 8.531 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/1.047, allocations: 0 / 1.427 GB, free: 8.531 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06145/1.109, allocations: 22.69 MB / 1.449 GB, free: 2.215 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.56, allocations: 0 / 1.449 GB, free: 2.215 MB / 1.154 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 20.64698532107286]