Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001309/0.001309, allocations: 117.4 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.001421/0.001421, 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.853/1.853, 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 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.848/2.848, allocations: 476.7 MB / 0.7678 GB, free: 9.293 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.SkyClearness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_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.002271/0.002271, allocations: 67.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.051, allocations: 169.9 MB / 1.279 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008539/1.059, allocations: 5.224 MB / 1.284 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2109/1.27, allocations: 154.1 MB / 1.435 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/1.272, allocations: 27.75 kB / 1.435 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009635/1.273, allocations: 194.1 kB / 1.435 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/1.275, allocations: 0.5917 MB / 1.435 GB, free: 11.63 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/1.278, allocations: 0.8876 MB / 1.436 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002666/1.281, allocations: 1.471 MB / 1.438 GB, free: 9.273 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/1.282, allocations: 484.8 kB / 1.438 GB, free: 8.777 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009244/1.283, allocations: 0.5489 MB / 1.439 GB, free: 8.227 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006939/1.283, allocations: 0.5523 MB / 1.439 GB, free: 7.672 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.283, allocations: 128 kB / 1.439 GB, free: 7.547 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/1.285, allocations: 0.5386 MB / 1.44 GB, free: 7.008 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/1.285, allocations: 326.9 kB / 1.44 GB, free: 6.688 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006688/1.286, allocations: 0.6102 MB / 1.441 GB, free: 6.074 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/1.288, allocations: 1.821 MB / 1.442 GB, free: 4.246 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.288, allocations: 0 / 1.442 GB, free: 4.246 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.643e-06/1.288, allocations: 0 / 1.442 GB, free: 4.246 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.842e-05/1.288, allocations: 0 / 1.442 GB, free: 4.246 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00307/1.291, allocations: 1.568 MB / 1.444 GB, free: 2.621 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.292, allocations: 11.97 kB / 1.444 GB, free: 2.609 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.398e-05/1.292, allocations: 30.19 kB / 1.444 GB, free: 2.578 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/1.292, allocations: 148.2 kB / 1.444 GB, free: 2.426 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.294, allocations: 275.9 kB / 1.444 GB, free: 2.156 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/1.295, allocations: 0.8055 MB / 1.445 GB, free: 1.309 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/1.295, allocations: 81.98 kB / 1.445 GB, free: 1.23 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.295, allocations: 88 kB / 1.445 GB, free: 1.145 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.297, allocations: 1.012 MB / 1.446 GB, free: 92 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.298, allocations: 0 / 1.446 GB, free: 92 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.298, allocations: 44 kB / 1.446 GB, free: 48 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/1.298, allocations: 24 kB / 1.446 GB, free: 24 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/1.3, allocations: 1.179 MB / 1.448 GB, free: 14.84 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.005151/1.305, allocations: 2.954 MB / 1.45 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.307, allocations: 0.8755 MB / 1.451 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/1.307, allocations: 286.6 kB / 1.452 GB, free: 10.58 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/1.308, allocations: 470.1 kB / 1.452 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/1.309, allocations: 0.511 MB / 1.453 GB, free: 9.5 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/1.309, allocations: 0 / 1.453 GB, free: 9.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003694/1.313, allocations: 1.241 MB / 1.454 GB, free: 8.23 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.313, allocations: 192.6 kB / 1.454 GB, free: 8 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/1.314, allocations: 0.6685 MB / 1.455 GB, free: 7.328 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/1.314, allocations: 45.7 kB / 1.455 GB, free: 7.277 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/1.314, allocations: 437 kB / 1.455 GB, free: 6.844 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/1.315, allocations: 273.7 kB / 1.455 GB, free: 6.574 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/1.315, allocations: 150.6 kB / 1.455 GB, free: 6.422 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.315, allocations: 390.8 kB / 1.456 GB, free: 6.031 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/1.316, allocations: 261.8 kB / 1.456 GB, free: 5.777 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007194/1.316, allocations: 362.5 kB / 1.456 GB, free: 5.398 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/1.318, allocations: 0.6072 MB / 1.457 GB, free: 4.781 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.318, allocations: 0 / 1.457 GB, free: 4.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002242/1.32, allocations: 0.8374 MB / 1.458 GB, free: 3.93 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.32, allocations: 7.984 kB / 1.458 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/1.32, allocations: 0 / 1.458 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/1.321, allocations: 80.81 kB / 1.458 GB, free: 3.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/1.321, allocations: 159.8 kB / 1.458 GB, free: 3.684 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.324, allocations: 1.642 MB / 1.46 GB, free: 1.898 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008185/1.325, allocations: 93.91 kB / 1.46 GB, free: 1.809 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/1.325, allocations: 31.98 kB / 1.46 GB, free: 1.777 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 (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.0005237/1.325, allocations: 281.8 kB / 1.46 GB, free: 1.492 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/1.325, allocations: 91.39 kB / 1.46 GB, free: 1.402 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/1.328, allocations: 1.089 MB / 1.461 GB, free: 300 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.328, allocations: 12 kB / 1.461 GB, free: 288 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.328, allocations: 0 / 1.461 GB, free: 288 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.328, allocations: 7.984 kB / 1.461 GB, free: 280 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/1.332, allocations: 2.025 MB / 1.463 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.332, allocations: 0 / 1.463 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/1.333, allocations: 151.8 kB / 1.463 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/1.333, allocations: 72.78 kB / 1.463 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/1.333, allocations: 23.98 kB / 1.463 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.335, allocations: 1.67 MB / 1.465 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.335, allocations: 0 / 1.465 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/1.338, allocations: 1.022 MB / 1.466 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/1.338, allocations: 288.1 kB / 1.466 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.339, allocations: 24 kB / 1.466 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007932/1.339, allocations: 71.86 kB / 1.466 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.34, allocations: 68.84 kB / 1.467 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/1.34, allocations: 39.97 kB / 1.467 GB, free: 10.59 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007415/1.34, allocations: 487 kB / 1.467 GB, free: 10.12 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.34, allocations: 0 / 1.467 GB, free: 10.12 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001113/1.341, allocations: 355 kB / 1.467 GB, free: 9.77 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 (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.004727/1.346, allocations: 2.094 MB / 1.469 GB, free: 7.828 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.348, allocations: 0.7962 MB / 1.47 GB, free: 7.02 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.348, allocations: 0 / 1.47 GB, free: 7.02 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.349, allocations: 0.5002 MB / 1.471 GB, free: 6.508 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.351, allocations: 315.3 kB / 1.471 GB, free: 6.23 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.363, allocations: 6.516 MB / 1.477 GB, free: 15.56 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009739/1.364, allocations: 1.047 MB / 1.478 GB, free: 14.48 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001076/1.365, allocations: 286.8 kB / 1.479 GB, free: 14.2 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008037/1.366, allocations: 411.3 kB / 1.479 GB, free: 13.79 MB / 1.17 GB Notification: Performance of SimCode: time 1.322e-06/1.366, allocations: 4 kB / 1.479 GB, free: 13.79 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06045/1.426, allocations: 22.89 MB / 1.501 GB, free: 7.242 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/17.22, allocations: 6.703 kB / 1.501 GB, free: 7.238 MB / 1.186 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 25.84282849903684]