Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001361/0.001361, allocations: 120 kB / 17.17 MB, free: 5.977 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.001443/0.001443, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.973/2.973, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_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.001997/0.001997, allocations: 67.89 kB / 1.149 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.104, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005435/1.109, allocations: 5.238 MB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2124/1.321, allocations: 154 MB / 1.477 GB, free: 4.066 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/1.323, allocations: 24.19 kB / 1.477 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007071/1.323, allocations: 211.1 kB / 1.477 GB, free: 3.867 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/1.326, allocations: 0.5897 MB / 1.478 GB, free: 3.422 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/1.328, allocations: 0.87 MB / 1.479 GB, free: 2.766 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00207/1.33, allocations: 1.48 MB / 1.48 GB, free: 1.844 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/1.331, allocations: 487.5 kB / 1.481 GB, free: 1.488 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/1.332, allocations: 0.5515 MB / 1.481 GB, free: 1.16 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/1.333, allocations: 0.5591 MB / 1.482 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/1.333, allocations: 130.1 kB / 1.482 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/1.334, allocations: 0.524 MB / 1.482 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003153/1.334, allocations: 329.5 kB / 1.483 GB, free: 304 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006335/1.335, allocations: 0.6165 MB / 1.483 GB, free: 15.84 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/1.337, allocations: 1.81 MB / 1.485 GB, free: 14.54 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.337, allocations: 1.312 kB / 1.485 GB, free: 14.54 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.262e-06/1.337, allocations: 0 / 1.485 GB, free: 14.54 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.637e-05/1.337, allocations: 0 / 1.485 GB, free: 14.54 MB / 1.17 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.003075/1.341, allocations: 1.58 MB / 1.487 GB, free: 13.29 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.341, allocations: 13.52 kB / 1.487 GB, free: 13.29 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.928e-05/1.341, allocations: 28.72 kB / 1.487 GB, free: 13.28 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/1.341, allocations: 158.2 kB / 1.487 GB, free: 13.15 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/1.343, allocations: 362.9 kB / 1.487 GB, free: 13 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/1.345, allocations: 0.8064 MB / 1.488 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/1.345, allocations: 73.5 kB / 1.488 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/1.345, allocations: 98.52 kB / 1.488 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/1.347, allocations: 1.07 MB / 1.489 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/1.347, allocations: 1.25 kB / 1.489 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.347, allocations: 41.56 kB / 1.489 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/1.347, allocations: 22.84 kB / 1.489 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/1.35, allocations: 1.272 MB / 1.49 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/1.355, allocations: 3.067 MB / 1.493 GB, free: 8.508 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/1.358, allocations: 0.975 MB / 1.494 GB, free: 7.965 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000834/1.359, allocations: 343.8 kB / 1.495 GB, free: 7.785 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/1.359, allocations: 28.61 kB / 1.495 GB, free: 7.758 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/1.36, allocations: 0.5627 MB / 1.495 GB, free: 7.176 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.024e-06/1.36, allocations: 0 / 1.495 GB, free: 7.176 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.00435/1.365, allocations: 1.388 MB / 1.497 GB, free: 5.762 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.365, allocations: 196.9 kB / 1.497 GB, free: 5.527 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.366, allocations: 0.6646 MB / 1.497 GB, free: 4.855 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-05/1.366, allocations: 45.7 kB / 1.497 GB, free: 4.805 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/1.366, allocations: 441 kB / 1.498 GB, free: 4.367 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/1.366, allocations: 289.6 kB / 1.498 GB, free: 4.082 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/1.367, allocations: 146.6 kB / 1.498 GB, free: 3.934 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.367, allocations: 390.8 kB / 1.499 GB, free: 3.543 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/1.368, allocations: 305.8 kB / 1.499 GB, free: 3.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/1.369, allocations: 410.5 kB / 1.499 GB, free: 2.812 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/1.37, allocations: 0.6906 MB / 1.5 GB, free: 2.109 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.37, allocations: 0 / 1.5 GB, free: 2.109 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002722/1.373, allocations: 0.9349 MB / 1.501 GB, free: 1.168 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.373, allocations: 8 kB / 1.501 GB, free: 1.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.373, allocations: 0 / 1.501 GB, free: 1.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/1.374, allocations: 84.86 kB / 1.501 GB, free: 1.074 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/1.375, allocations: 171.8 kB / 1.501 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.377, allocations: 1.642 MB / 1.503 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.378, allocations: 121.3 kB / 1.503 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/1.378, allocations: 31.98 kB / 1.503 GB, free: 14.96 MB / 1.186 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.0006679/1.379, allocations: 275.8 kB / 1.503 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/1.379, allocations: 99.44 kB / 1.503 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/1.382, allocations: 1.199 MB / 1.504 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.382, allocations: 11.98 kB / 1.504 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.382, allocations: 0 / 1.504 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.382, allocations: 7.984 kB / 1.504 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004321/1.387, allocations: 2.168 MB / 1.507 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.387, allocations: 0 / 1.507 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/1.387, allocations: 171.8 kB / 1.507 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/1.388, allocations: 72.78 kB / 1.507 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/1.388, allocations: 27.92 kB / 1.507 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.39, allocations: 1.658 MB / 1.508 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.39, allocations: 0 / 1.508 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/1.393, allocations: 1.123 MB / 1.51 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/1.393, allocations: 296 kB / 1.51 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/1.394, allocations: 24 kB / 1.51 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008686/1.394, allocations: 87.84 kB / 1.51 GB, free: 7.496 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/1.395, allocations: 72.91 kB / 1.51 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/1.395, allocations: 35.97 kB / 1.51 GB, free: 7.387 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007417/1.395, allocations: 487 kB / 1.511 GB, free: 6.914 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.395, allocations: 0 / 1.511 GB, free: 6.914 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001161/1.397, allocations: 343.1 kB / 1.511 GB, free: 6.578 MB / 1.186 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.005061/1.402, allocations: 2.178 MB / 1.513 GB, free: 4.555 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00239/1.404, allocations: 0.886 MB / 1.514 GB, free: 3.656 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.404, allocations: 0 / 1.514 GB, free: 3.656 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.405, allocations: 0.5587 MB / 1.514 GB, free: 3.086 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.407, allocations: 308.4 kB / 1.515 GB, free: 2.805 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.42, allocations: 6.846 MB / 1.521 GB, free: 11.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/1.421, allocations: 1.052 MB / 1.522 GB, free: 10.72 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000996/1.422, allocations: 291 kB / 1.523 GB, free: 10.43 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/1.422, allocations: 431.2 kB / 1.523 GB, free: 10.01 MB / 1.201 GB Notification: Performance of SimCode: time 8.31e-07/1.422, allocations: 0 / 1.523 GB, free: 10.01 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/1.479, allocations: 23.11 MB / 1.546 GB, free: 3.223 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.98, allocations: 13.69 kB / 1.546 GB, free: 3.211 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.725566212029662]