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.00135/0.00135, allocations: 105.7 kB / 16.45 MB, free: 6.445 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.001318/0.001318, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.896/2.896, allocations: 476.7 MB / 0.7611 GB, free: 15.7 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: "" <> 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.0019/0.0019, allocations: 67.89 kB / 1.104 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 168.7 MB / 1.269 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00719/1.025, allocations: 5.192 MB / 1.274 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2068/1.232, allocations: 151.1 MB / 1.421 GB, free: 3.828 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/1.234, allocations: 15.5 kB / 1.421 GB, free: 3.824 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/1.235, allocations: 203.4 kB / 1.422 GB, free: 3.645 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/1.237, allocations: 0.5775 MB / 1.422 GB, free: 3.207 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/1.24, allocations: 0.8497 MB / 1.423 GB, free: 2.562 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002107/1.242, allocations: 1.458 MB / 1.424 GB, free: 1.656 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/1.243, allocations: 484.3 kB / 1.425 GB, free: 1.305 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008874/1.244, allocations: 0.5235 MB / 1.425 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007202/1.244, allocations: 0.5525 MB / 1.426 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/1.244, allocations: 127.6 kB / 1.426 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/1.246, allocations: 0.4934 MB / 1.427 GB, free: 416 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/1.246, allocations: 321.1 kB / 1.427 GB, free: 156 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006145/1.246, allocations: 0.6107 MB / 1.427 GB, free: 15.7 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/1.249, allocations: 1.759 MB / 1.429 GB, free: 14.43 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.249, allocations: 1.438 kB / 1.429 GB, free: 14.43 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.473e-06/1.249, allocations: 0 / 1.429 GB, free: 14.43 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.568e-05/1.249, allocations: 0 / 1.429 GB, free: 14.43 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.003171/1.252, allocations: 1.551 MB / 1.431 GB, free: 13.2 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/1.252, allocations: 13.62 kB / 1.431 GB, free: 13.2 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/1.252, allocations: 157.8 kB / 1.431 GB, free: 13.07 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/1.254, allocations: 310.3 kB / 1.431 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.256, allocations: 0.7898 MB / 1.432 GB, free: 12.29 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/1.256, allocations: 77.31 kB / 1.432 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/1.256, allocations: 94.8 kB / 1.432 GB, free: 12.22 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/1.258, allocations: 1.075 MB / 1.433 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.258, allocations: 1.312 kB / 1.433 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/1.259, allocations: 36.5 kB / 1.433 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/1.259, allocations: 24.47 kB / 1.433 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/1.261, allocations: 1.275 MB / 1.434 GB, free: 10.92 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.005593/1.267, allocations: 2.959 MB / 1.437 GB, free: 8.367 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/1.269, allocations: 0.981 MB / 1.438 GB, free: 7.359 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007869/1.27, allocations: 334.6 kB / 1.439 GB, free: 7.031 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.711e-05/1.27, allocations: 38.47 kB / 1.439 GB, free: 6.996 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.271, allocations: 0.5627 MB / 1.439 GB, free: 6.414 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 2.966e-06/1.271, allocations: 0 / 1.439 GB, free: 6.414 MB / 1.123 GB Notification: Performance of matching and sorting (n=84): time 0.004109/1.275, allocations: 1.384 MB / 1.441 GB, free: 5.008 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.276, allocations: 196.9 kB / 1.441 GB, free: 4.77 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.277, allocations: 0.6371 MB / 1.441 GB, free: 4.125 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.277, allocations: 41.7 kB / 1.441 GB, free: 4.078 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/1.277, allocations: 440.9 kB / 1.442 GB, free: 3.641 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/1.277, allocations: 281.6 kB / 1.442 GB, free: 3.363 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/1.278, allocations: 154.6 kB / 1.442 GB, free: 3.207 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002052/1.278, allocations: 390.8 kB / 1.443 GB, free: 2.816 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/1.279, allocations: 305.8 kB / 1.443 GB, free: 2.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008578/1.279, allocations: 414.5 kB / 1.443 GB, free: 2.086 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/1.281, allocations: 0.6906 MB / 1.444 GB, free: 1.387 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.281, allocations: 0 / 1.444 GB, free: 1.387 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002546/1.284, allocations: 0.9193 MB / 1.445 GB, free: 464 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/1.284, allocations: 8 kB / 1.445 GB, free: 456 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.284, allocations: 4.094 kB / 1.445 GB, free: 452 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/1.284, allocations: 76.78 kB / 1.445 GB, free: 372 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/1.285, allocations: 187.7 kB / 1.445 GB, free: 184 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/1.288, allocations: 1.638 MB / 1.447 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.289, allocations: 117.7 kB / 1.447 GB, free: 14.28 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/1.289, allocations: 31.97 kB / 1.447 GB, free: 14.25 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 (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.0005851/1.289, allocations: 275.4 kB / 1.447 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.29, allocations: 91.44 kB / 1.447 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/1.293, allocations: 1.202 MB / 1.448 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.293, allocations: 12 kB / 1.448 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.293, allocations: 0 / 1.448 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/1.293, allocations: 7.969 kB / 1.448 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/1.297, allocations: 2.141 MB / 1.45 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.297, allocations: 0 / 1.45 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/1.298, allocations: 175.8 kB / 1.451 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/1.298, allocations: 68.8 kB / 1.451 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/1.298, allocations: 27.97 kB / 1.451 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/1.3, allocations: 1.67 MB / 1.452 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.3, allocations: 0 / 1.452 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/1.303, allocations: 1.131 MB / 1.453 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/1.304, allocations: 284.2 kB / 1.454 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.304, allocations: 20 kB / 1.454 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/1.305, allocations: 79.91 kB / 1.454 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.305, allocations: 76.84 kB / 1.454 GB, free: 6.742 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/1.305, allocations: 39.97 kB / 1.454 GB, free: 6.703 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006668/1.306, allocations: 467 kB / 1.454 GB, free: 6.25 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.306, allocations: 0 / 1.454 GB, free: 6.25 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001127/1.307, allocations: 351 kB / 1.455 GB, free: 5.906 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.004946/1.312, allocations: 2.177 MB / 1.457 GB, free: 3.895 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002238/1.314, allocations: 0.8938 MB / 1.458 GB, free: 2.988 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.314, allocations: 0 / 1.458 GB, free: 2.988 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.315, allocations: 0.5548 MB / 1.458 GB, free: 2.422 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.317, allocations: 303.5 kB / 1.459 GB, free: 2.148 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.329, allocations: 6.761 MB / 1.465 GB, free: 11.23 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/1.33, allocations: 1.051 MB / 1.466 GB, free: 10.15 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001058/1.331, allocations: 278.9 kB / 1.466 GB, free: 9.871 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/1.332, allocations: 423.2 kB / 1.467 GB, free: 9.457 MB / 1.154 GB Notification: Performance of SimCode: time 1.212e-06/1.332, allocations: 3.938 kB / 1.467 GB, free: 9.453 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06273/1.394, allocations: 22.79 MB / 1.489 GB, free: 2.992 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.81, allocations: 8.703 kB / 1.489 GB, free: 2.984 MB / 1.17 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: 21.227192559745163]