Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.00134/0.00134, allocations: 116.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.001504/0.001504, allocations: 212 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.475/1.475, 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.929/2.929, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001942/0.001942, allocations: 71.91 kB / 1.149 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007273/1.068, allocations: 5.232 MB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2043/1.272, allocations: 154.1 MB / 1.477 GB, free: 4.043 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/1.273, allocations: 23.69 kB / 1.477 GB, free: 4.031 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000666/1.274, allocations: 212 kB / 1.477 GB, free: 3.844 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/1.276, allocations: 0.58 MB / 1.478 GB, free: 3.406 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/1.278, allocations: 0.8879 MB / 1.479 GB, free: 2.738 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00197/1.28, allocations: 1.481 MB / 1.48 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/1.281, allocations: 476.1 kB / 1.481 GB, free: 1.469 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000895/1.282, allocations: 0.5504 MB / 1.481 GB, free: 1.141 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006848/1.283, allocations: 0.5539 MB / 1.482 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/1.283, allocations: 126.9 kB / 1.482 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/1.284, allocations: 0.5396 MB / 1.482 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/1.284, allocations: 322.5 kB / 1.483 GB, free: 288 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006504/1.285, allocations: 0.6156 MB / 1.483 GB, free: 15.83 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/1.288, allocations: 1.811 MB / 1.485 GB, free: 14.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.288, allocations: 5.5 kB / 1.485 GB, free: 14.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.353e-06/1.288, allocations: 0 / 1.485 GB, free: 14.52 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.302e-05/1.288, allocations: 0 / 1.485 GB, free: 14.52 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003051/1.291, allocations: 1.578 MB / 1.487 GB, free: 13.27 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.291, allocations: 14.48 kB / 1.487 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.101e-05/1.291, allocations: 29.72 kB / 1.487 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/1.291, allocations: 152.2 kB / 1.487 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/1.293, allocations: 272 kB / 1.487 GB, free: 13.01 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/1.294, allocations: 0.8107 MB / 1.488 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/1.294, allocations: 68.88 kB / 1.488 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.294, allocations: 92.03 kB / 1.488 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.296, allocations: 1.012 MB / 1.489 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.296, allocations: 0.9062 kB / 1.489 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/1.296, allocations: 42.14 kB / 1.489 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/1.296, allocations: 23 kB / 1.489 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/1.298, allocations: 1.174 MB / 1.49 GB, free: 11.06 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/1.303, allocations: 3.056 MB / 1.493 GB, free: 8.555 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/1.305, allocations: 0.8602 MB / 1.494 GB, free: 8.059 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/1.306, allocations: 295.2 kB / 1.494 GB, free: 7.906 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008801/1.307, allocations: 468.7 kB / 1.495 GB, free: 7.398 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/1.308, allocations: 0.5039 MB / 1.495 GB, free: 7.043 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.427e-06/1.308, allocations: 0 / 1.495 GB, free: 7.043 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.004018/1.312, allocations: 1.243 MB / 1.496 GB, free: 5.773 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/1.312, allocations: 188.6 kB / 1.497 GB, free: 5.547 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.314, allocations: 0.6685 MB / 1.497 GB, free: 4.871 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/1.314, allocations: 45.7 kB / 1.497 GB, free: 4.82 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/1.314, allocations: 437 kB / 1.498 GB, free: 4.387 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/1.314, allocations: 277.6 kB / 1.498 GB, free: 4.113 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/1.315, allocations: 154.6 kB / 1.498 GB, free: 3.957 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.315, allocations: 386.8 kB / 1.498 GB, free: 3.57 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/1.315, allocations: 253.9 kB / 1.499 GB, free: 3.32 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/1.316, allocations: 370.5 kB / 1.499 GB, free: 2.934 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/1.317, allocations: 0.6033 MB / 1.5 GB, free: 2.316 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.317, allocations: 0 / 1.5 GB, free: 2.316 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002101/1.319, allocations: 0.8412 MB / 1.5 GB, free: 1.469 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.319, allocations: 8.094 kB / 1.501 GB, free: 1.461 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.319, allocations: 0 / 1.501 GB, free: 1.461 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.32, allocations: 88.75 kB / 1.501 GB, free: 1.371 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/1.321, allocations: 151.8 kB / 1.501 GB, free: 1.223 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/1.323, allocations: 1.646 MB / 1.502 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/1.324, allocations: 93.86 kB / 1.502 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/1.324, allocations: 31.97 kB / 1.502 GB, free: 15.31 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 (88): * Single equations (assignments): 87 * 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.0004989/1.324, allocations: 279.8 kB / 1.503 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.325, allocations: 87.44 kB / 1.503 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/1.327, allocations: 1.097 MB / 1.504 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.327, allocations: 12 kB / 1.504 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/1.327, allocations: 0 / 1.504 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.327, allocations: 7.969 kB / 1.504 GB, free: 13.8 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/1.331, allocations: 2.025 MB / 1.506 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.331, allocations: 0 / 1.506 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/1.332, allocations: 143.8 kB / 1.506 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/1.332, allocations: 76.78 kB / 1.506 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/1.332, allocations: 27.97 kB / 1.506 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/1.334, allocations: 1.666 MB / 1.508 GB, free: 9.66 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.334, allocations: 3.984 kB / 1.508 GB, free: 9.656 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/1.336, allocations: 1.022 MB / 1.509 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/1.337, allocations: 284.2 kB / 1.509 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/1.337, allocations: 20 kB / 1.509 GB, free: 8.301 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/1.338, allocations: 71.86 kB / 1.509 GB, free: 8.23 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.338, allocations: 72.83 kB / 1.509 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/1.338, allocations: 35.98 kB / 1.509 GB, free: 8.121 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006869/1.339, allocations: 487 kB / 1.51 GB, free: 7.648 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.339, allocations: 0 / 1.51 GB, free: 7.648 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001099/1.34, allocations: 359 kB / 1.51 GB, free: 7.297 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 (93): * Single equations (assignments): 87 * 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.004529/1.344, allocations: 2.1 MB / 1.512 GB, free: 5.359 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001968/1.346, allocations: 0.8001 MB / 1.513 GB, free: 4.543 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.346, allocations: 0 / 1.513 GB, free: 4.543 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.347, allocations: 0.5002 MB / 1.513 GB, free: 4.035 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.349, allocations: 310.1 kB / 1.514 GB, free: 3.75 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.362, allocations: 6.513 MB / 1.52 GB, free: 13.08 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/1.362, allocations: 1.048 MB / 1.521 GB, free: 12 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009526/1.363, allocations: 274.9 kB / 1.521 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.364, allocations: 415.2 kB / 1.522 GB, free: 11.32 MB / 1.201 GB Notification: Performance of SimCode: time 5.91e-07/1.364, allocations: 4 kB / 1.522 GB, free: 11.32 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05986/1.424, allocations: 22.88 MB / 1.544 GB, free: 4.762 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.92, allocations: 15.94 kB / 1.544 GB, free: 4.75 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.643964053015225]