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.001802/0.001802, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001851/0.001851, allocations: 216 kB / 22.25 MB, free: 5.105 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.797 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 3.055/3.055, allocations: 0.49 GB / 0.7951 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",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.001965/0.001965, allocations: 67.36 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006868/0.3537, allocations: 4.692 MB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.5172, allocations: 132.7 MB / 1.46 GB, free: 7.578 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008896/0.5181, allocations: 23.81 kB / 1.46 GB, free: 7.555 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.5187, allocations: 210.1 kB / 1.46 GB, free: 7.348 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.5205, allocations: 0.5821 MB / 1.461 GB, free: 6.766 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.5225, allocations: 0.8806 MB / 1.462 GB, free: 5.891 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.5242, allocations: 1.479 MB / 1.463 GB, free: 4.406 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008032/0.525, allocations: 482.3 kB / 1.464 GB, free: 3.902 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.5257, allocations: 0.5452 MB / 1.464 GB, free: 3.355 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.5264, allocations: 0.564 MB / 1.465 GB, free: 2.789 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.5266, allocations: 132 kB / 1.465 GB, free: 2.66 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009644/0.5275, allocations: 0.5113 MB / 1.465 GB, free: 2.148 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.5279, allocations: 323 kB / 1.466 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.5284, allocations: 0.5054 MB / 1.466 GB, free: 1.324 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.5305, allocations: 1.817 MB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5305, allocations: 0 / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.849e-06/0.5305, allocations: 4 kB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.5305, allocations: 4 kB / 1.468 GB, free: 15.49 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.002889/0.5334, allocations: 1.5 MB / 1.469 GB, free: 13.96 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5335, allocations: 8.031 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.5337, allocations: 152.3 kB / 1.47 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.5362, allocations: 367.8 kB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.5376, allocations: 0.7413 MB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.5376, allocations: 70 kB / 1.471 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.5378, allocations: 96 kB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.5401, allocations: 1.321 MB / 1.472 GB, free: 11.08 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5401, allocations: 0 / 1.472 GB, free: 11.08 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.994e-05/0.5402, allocations: 40 kB / 1.472 GB, free: 11.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.5402, allocations: 24 kB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.5426, allocations: 1.233 MB / 1.473 GB, free: 9.781 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.5475, allocations: 2.402 MB / 1.476 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.5501, allocations: 0.8988 MB / 1.477 GB, free: 6.41 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.5508, allocations: 338.6 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.5509, allocations: 30.5 kB / 1.477 GB, free: 6.051 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.5521, allocations: 0.6591 MB / 1.478 GB, free: 5.352 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.966e-06/0.5521, allocations: 0 / 1.478 GB, free: 5.352 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003986/0.5561, allocations: 1.313 MB / 1.479 GB, free: 4.027 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.5562, allocations: 192.9 kB / 1.479 GB, free: 3.797 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.5572, allocations: 0.6724 MB / 1.48 GB, free: 3.117 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.958e-05/0.5572, allocations: 45.64 kB / 1.48 GB, free: 3.066 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.5576, allocations: 441 kB / 1.48 GB, free: 2.629 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.5579, allocations: 285.6 kB / 1.48 GB, free: 2.348 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.5581, allocations: 150.6 kB / 1.481 GB, free: 2.195 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.5584, allocations: 390.8 kB / 1.481 GB, free: 1.805 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.5591, allocations: 305.8 kB / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009169/0.56, allocations: 0.5303 MB / 1.482 GB, free: 0.918 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.5615, allocations: 0.6945 MB / 1.482 GB, free: 220 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5615, allocations: 0 / 1.482 GB, free: 220 kB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002456/0.564, allocations: 0.9271 MB / 1.483 GB, free: 15.28 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.564, allocations: 8 kB / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.564, allocations: 0 / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.5647, allocations: 84.86 kB / 1.483 GB, free: 15.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.5655, allocations: 179.8 kB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.5676, allocations: 1.523 MB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008576/0.5685, allocations: 114 kB / 1.485 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.5685, allocations: 35.91 kB / 1.485 GB, free: 13.22 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.0004608/0.569, allocations: 265.7 kB / 1.485 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.5692, allocations: 99.36 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.5722, allocations: 1.21 MB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5722, allocations: 8 kB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5722, allocations: 0 / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.5722, allocations: 3.984 kB / 1.487 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.5761, allocations: 2.007 MB / 1.489 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5761, allocations: 0 / 1.489 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.5768, allocations: 171.8 kB / 1.489 GB, free: 9.383 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.5773, allocations: 72.78 kB / 1.489 GB, free: 9.309 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.5773, allocations: 27.98 kB / 1.489 GB, free: 9.281 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.5793, allocations: 1.547 MB / 1.49 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5793, allocations: 7.875 kB / 1.49 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.5819, allocations: 1.127 MB / 1.492 GB, free: 6.461 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.5824, allocations: 211.1 kB / 1.492 GB, free: 6.254 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.5825, allocations: 23.98 kB / 1.492 GB, free: 6.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/0.5833, allocations: 83.91 kB / 1.492 GB, free: 6.148 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.5835, allocations: 84.72 kB / 1.492 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.5836, allocations: 35.98 kB / 1.492 GB, free: 6.031 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000628/0.5842, allocations: 487 kB / 1.492 GB, free: 5.562 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5842, allocations: 4 kB / 1.492 GB, free: 5.559 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009127/0.5851, allocations: 343.1 kB / 1.493 GB, free: 5.223 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.004745/0.5899, allocations: 2.218 MB / 1.495 GB, free: 3.188 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.5921, allocations: 0.8976 MB / 1.496 GB, free: 2.277 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5921, allocations: 0 / 1.496 GB, free: 2.277 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5933, allocations: 0.5509 MB / 1.496 GB, free: 1.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5945, allocations: 309.2 kB / 1.497 GB, free: 1.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.6072, allocations: 6.827 MB / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.6077, allocations: 472.5 kB / 1.504 GB, free: 9.953 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009471/0.6086, allocations: 287 kB / 1.504 GB, free: 9.668 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.6092, allocations: 431.2 kB / 1.504 GB, free: 9.246 MB / 1.201 GB Notification: Performance of SimCode: time 6.71e-07/0.6092, allocations: 0 / 1.504 GB, free: 9.246 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06852/0.6778, allocations: 24.95 MB / 1.529 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.94, allocations: 5.719 kB / 1.529 GB, free: 0.6133 MB / 1.217 GB " [Timeout remaining time 286] (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: 20.703386405977653]