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.001735/0.001735, allocations: 112.6 kB / 17.96 MB, free: 3.918 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.002267/0.002267, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.398/1.398, allocations: 225.6 MB / 249.9 MB, free: 13.39 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.69/2.69, allocations: 476.7 MB / 0.7635 GB, free: 10.15 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.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.003104/0.003104, allocations: 63.89 kB / 1.108 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8477, allocations: 168.7 MB / 1.272 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007244/0.8549, allocations: 5.223 MB / 1.277 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1823/1.037, allocations: 151.3 MB / 1.425 GB, free: 7.312 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.038, allocations: 15.94 kB / 1.425 GB, free: 7.297 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/1.039, allocations: 206.1 kB / 1.425 GB, free: 7.094 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/1.042, allocations: 0.5683 MB / 1.426 GB, free: 6.523 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/1.045, allocations: 0.8779 MB / 1.427 GB, free: 5.652 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002376/1.047, allocations: 1.456 MB / 1.428 GB, free: 4.191 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/1.048, allocations: 482 kB / 1.429 GB, free: 3.695 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/1.049, allocations: 0.5217 MB / 1.429 GB, free: 3.172 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/1.05, allocations: 0.5562 MB / 1.43 GB, free: 2.613 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/1.051, allocations: 128 kB / 1.43 GB, free: 2.488 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/1.052, allocations: 491.6 kB / 1.43 GB, free: 2.008 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/1.052, allocations: 327 kB / 1.431 GB, free: 1.688 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008581/1.053, allocations: 0.618 MB / 1.431 GB, free: 1.066 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002984/1.056, allocations: 1.759 MB / 1.433 GB, free: 15.3 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.056, allocations: 4 kB / 1.433 GB, free: 15.3 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/1.056, allocations: 0 / 1.433 GB, free: 15.3 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.535e-05/1.056, allocations: 0 / 1.433 GB, free: 15.3 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003579/1.06, allocations: 1.545 MB / 1.434 GB, free: 13.69 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.06, allocations: 12.03 kB / 1.434 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002505/1.06, allocations: 152.3 kB / 1.435 GB, free: 13.52 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/1.062, allocations: 315.9 kB / 1.435 GB, free: 13.21 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/1.064, allocations: 0.7893 MB / 1.436 GB, free: 12.38 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/1.064, allocations: 74 kB / 1.436 GB, free: 12.31 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/1.064, allocations: 88 kB / 1.436 GB, free: 12.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/1.066, allocations: 1.078 MB / 1.437 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.066, allocations: 0 / 1.437 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/1.066, allocations: 36 kB / 1.437 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/1.066, allocations: 24 kB / 1.437 GB, free: 11.05 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/1.069, allocations: 1.276 MB / 1.438 GB, free: 9.777 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.005409/1.074, allocations: 2.96 MB / 1.441 GB, free: 6.691 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/1.077, allocations: 0.9849 MB / 1.442 GB, free: 5.684 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008043/1.078, allocations: 334.6 kB / 1.442 GB, free: 5.352 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.911e-05/1.078, allocations: 34.47 kB / 1.442 GB, free: 5.32 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/1.079, allocations: 0.5626 MB / 1.443 GB, free: 4.734 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 4.469e-06/1.079, allocations: 4 kB / 1.443 GB, free: 4.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.004207/1.083, allocations: 1.38 MB / 1.444 GB, free: 3.328 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.083, allocations: 196.9 kB / 1.445 GB, free: 3.094 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/1.084, allocations: 0.6411 MB / 1.445 GB, free: 2.445 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.084, allocations: 41.7 kB / 1.445 GB, free: 2.398 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/1.085, allocations: 440.9 kB / 1.446 GB, free: 1.961 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/1.085, allocations: 281.6 kB / 1.446 GB, free: 1.684 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.085, allocations: 154.6 kB / 1.446 GB, free: 1.523 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.086, allocations: 386.8 kB / 1.446 GB, free: 1.137 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/1.086, allocations: 301.8 kB / 1.447 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/1.087, allocations: 422.6 kB / 1.447 GB, free: 416 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.089, allocations: 0.6906 MB / 1.448 GB, free: 15.7 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.089, allocations: 0 / 1.448 GB, free: 15.7 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002589/1.091, allocations: 0.9194 MB / 1.449 GB, free: 14.77 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/1.091, allocations: 11.98 kB / 1.449 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.091, allocations: 0 / 1.449 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/1.092, allocations: 80.88 kB / 1.449 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/1.093, allocations: 179.8 kB / 1.449 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/1.095, allocations: 1.634 MB / 1.451 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/1.096, allocations: 107.5 kB / 1.451 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/1.096, allocations: 39.97 kB / 1.451 GB, free: 12.57 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 (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.0005206/1.097, allocations: 273.6 kB / 1.451 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/1.097, allocations: 87.44 kB / 1.451 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/1.1, allocations: 1.206 MB / 1.452 GB, free: 10.99 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.1, allocations: 8 kB / 1.452 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.1, allocations: 4 kB / 1.452 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.1, allocations: 7.969 kB / 1.452 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/1.104, allocations: 2.141 MB / 1.454 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.104, allocations: 4 kB / 1.454 GB, free: 8.77 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/1.105, allocations: 167.8 kB / 1.454 GB, free: 8.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/1.106, allocations: 76.78 kB / 1.455 GB, free: 8.527 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/1.106, allocations: 27.97 kB / 1.455 GB, free: 8.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/1.108, allocations: 1.666 MB / 1.456 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.108, allocations: 3.938 kB / 1.456 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/1.111, allocations: 1.119 MB / 1.457 GB, free: 5.543 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/1.111, allocations: 288.2 kB / 1.458 GB, free: 5.242 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.111, allocations: 19.94 kB / 1.458 GB, free: 5.223 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/1.112, allocations: 83.91 kB / 1.458 GB, free: 5.141 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/1.112, allocations: 76.84 kB / 1.458 GB, free: 5.066 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.062e-05/1.112, allocations: 43.97 kB / 1.458 GB, free: 5.023 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006954/1.113, allocations: 467 kB / 1.458 GB, free: 4.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.113, allocations: 0 / 1.458 GB, free: 4.57 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001061/1.114, allocations: 347 kB / 1.459 GB, free: 4.23 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 (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.004928/1.119, allocations: 2.175 MB / 1.461 GB, free: 2.223 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002354/1.121, allocations: 0.8976 MB / 1.462 GB, free: 1.312 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.121, allocations: 0 / 1.462 GB, free: 1.312 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.123, allocations: 0.5509 MB / 1.462 GB, free: 0.75 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/1.124, allocations: 313.5 kB / 1.462 GB, free: 480 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.137, allocations: 6.777 MB / 1.469 GB, free: 9.535 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/1.138, allocations: 1.05 MB / 1.47 GB, free: 8.461 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009952/1.139, allocations: 267 kB / 1.47 GB, free: 8.195 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/1.14, allocations: 427.2 kB / 1.471 GB, free: 7.777 MB / 1.17 GB Notification: Performance of SimCode: time 9.71e-07/1.14, allocations: 0 / 1.471 GB, free: 7.777 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/1.203, allocations: 22.81 MB / 1.493 GB, free: 1.199 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.56, allocations: 5.953 kB / 1.493 GB, free: 1.195 MB / 1.186 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.671250786166638]