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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007833/1.058, allocations: 5.227 MB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2277/1.285, allocations: 154.1 MB / 1.434 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/1.287, allocations: 19.88 kB / 1.434 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/1.288, allocations: 206 kB / 1.435 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/1.293, allocations: 0.5784 MB / 1.435 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/1.296, allocations: 0.8747 MB / 1.436 GB, free: 11 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002833/1.299, allocations: 1.487 MB / 1.438 GB, free: 9.504 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/1.3, allocations: 494.1 kB / 1.438 GB, free: 9 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/1.302, allocations: 0.5412 MB / 1.439 GB, free: 8.457 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/1.303, allocations: 0.564 MB / 1.439 GB, free: 7.891 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003753/1.303, allocations: 128 kB / 1.439 GB, free: 7.766 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/1.305, allocations: 0.5191 MB / 1.44 GB, free: 7.246 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/1.305, allocations: 330.9 kB / 1.44 GB, free: 6.922 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1.306, allocations: 0.6219 MB / 1.441 GB, free: 6.297 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/1.309, allocations: 1.809 MB / 1.442 GB, free: 4.48 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.309, allocations: 0 / 1.442 GB, free: 4.48 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.225e-06/1.309, allocations: 0 / 1.442 GB, free: 4.48 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.107e-05/1.309, allocations: 0 / 1.442 GB, free: 4.48 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.002933/1.312, allocations: 1.572 MB / 1.444 GB, free: 2.852 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.312, allocations: 16.03 kB / 1.444 GB, free: 2.836 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.732e-05/1.312, allocations: 26.19 kB / 1.444 GB, free: 2.809 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/1.313, allocations: 148.3 kB / 1.444 GB, free: 2.656 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/1.315, allocations: 371.8 kB / 1.444 GB, free: 2.293 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.316, allocations: 0.8172 MB / 1.445 GB, free: 1.434 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/1.316, allocations: 70 kB / 1.445 GB, free: 1.367 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.317, allocations: 92 kB / 1.445 GB, free: 1.277 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/1.319, allocations: 1.066 MB / 1.446 GB, free: 176 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/1.319, allocations: 0 / 1.446 GB, free: 176 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/1.319, allocations: 44 kB / 1.447 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/1.319, allocations: 24 kB / 1.447 GB, free: 108 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/1.321, allocations: 1.272 MB / 1.448 GB, free: 14.83 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.005202/1.327, allocations: 2.971 MB / 1.451 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/1.329, allocations: 0.9731 MB / 1.452 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/1.33, allocations: 348.4 kB / 1.452 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-05/1.33, allocations: 32.59 kB / 1.452 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/1.332, allocations: 0.5588 MB / 1.453 GB, free: 9.789 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 2.134e-06/1.332, allocations: 0 / 1.453 GB, free: 9.789 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.004329/1.336, allocations: 1.388 MB / 1.454 GB, free: 8.375 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.336, allocations: 196.9 kB / 1.454 GB, free: 8.137 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.337, allocations: 0.6646 MB / 1.455 GB, free: 7.469 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.429e-05/1.337, allocations: 45.7 kB / 1.455 GB, free: 7.418 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004752/1.338, allocations: 445 kB / 1.455 GB, free: 6.977 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/1.338, allocations: 285.5 kB / 1.455 GB, free: 6.695 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.338, allocations: 150.6 kB / 1.456 GB, free: 6.543 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002382/1.339, allocations: 386.8 kB / 1.456 GB, free: 6.156 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008313/1.34, allocations: 313.8 kB / 1.456 GB, free: 5.852 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/1.34, allocations: 410.5 kB / 1.457 GB, free: 5.422 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/1.342, allocations: 0.6983 MB / 1.457 GB, free: 4.715 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.342, allocations: 0 / 1.457 GB, free: 4.715 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002624/1.345, allocations: 0.9232 MB / 1.458 GB, free: 3.777 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/1.345, allocations: 8 kB / 1.458 GB, free: 3.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.345, allocations: 0 / 1.458 GB, free: 3.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/1.345, allocations: 88.84 kB / 1.458 GB, free: 3.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/1.346, allocations: 179.8 kB / 1.459 GB, free: 3.504 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/1.349, allocations: 1.629 MB / 1.46 GB, free: 1.734 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.35, allocations: 115.5 kB / 1.46 GB, free: 1.621 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/1.35, allocations: 27.98 kB / 1.46 GB, free: 1.594 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.0006381/1.351, allocations: 278.6 kB / 1.461 GB, free: 1.312 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/1.351, allocations: 95.42 kB / 1.461 GB, free: 1.219 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/1.354, allocations: 1.203 MB / 1.462 GB, free: 15.99 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.354, allocations: 8 kB / 1.462 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.354, allocations: 4 kB / 1.462 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.354, allocations: 3.938 kB / 1.462 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/1.359, allocations: 2.172 MB / 1.464 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.359, allocations: 0 / 1.464 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/1.36, allocations: 179.8 kB / 1.464 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/1.36, allocations: 68.78 kB / 1.464 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/1.36, allocations: 35.86 kB / 1.464 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/1.363, allocations: 1.643 MB / 1.466 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.363, allocations: 0 / 1.466 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/1.366, allocations: 1.127 MB / 1.467 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005937/1.367, allocations: 292.1 kB / 1.467 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/1.367, allocations: 23.95 kB / 1.467 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/1.368, allocations: 91.84 kB / 1.467 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.368, allocations: 68.91 kB / 1.467 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.368, allocations: 35.97 kB / 1.467 GB, free: 10.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009819/1.369, allocations: 491 kB / 1.468 GB, free: 9.539 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.369, allocations: 0 / 1.468 GB, free: 9.539 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001285/1.371, allocations: 339.1 kB / 1.468 GB, free: 9.207 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.005261/1.376, allocations: 2.182 MB / 1.47 GB, free: 7.18 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002505/1.378, allocations: 0.8938 MB / 1.471 GB, free: 6.273 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.378, allocations: 4 kB / 1.471 GB, free: 6.27 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.38, allocations: 0.5509 MB / 1.472 GB, free: 5.707 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.381, allocations: 316.1 kB / 1.472 GB, free: 5.422 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.395, allocations: 6.834 MB / 1.479 GB, free: 14.43 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008539/1.396, allocations: 1.051 MB / 1.48 GB, free: 13.35 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001001/1.397, allocations: 291 kB / 1.48 GB, free: 13.06 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/1.398, allocations: 426.6 kB / 1.48 GB, free: 12.65 MB / 1.17 GB Notification: Performance of SimCode: time 1.413e-06/1.398, allocations: 4 kB / 1.48 GB, free: 12.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/1.459, allocations: 23.11 MB / 1.503 GB, free: 5.883 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/18.38, allocations: 18.92 kB / 1.503 GB, free: 5.867 MB / 1.186 GB " [Timeout remaining time 281] (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/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: 25.981215370004065]