Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001777/0.001777, allocations: 77.7 kB / 19.76 MB, free: 2.035 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.002069/0.002069, allocations: 160.4 kB / 23.01 MB, free: 4.945 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.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.907/2.907, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [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.002413/0.002413, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005715/1.024, allocations: 4.687 MB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1803/1.204, allocations: 132.7 MB / 1.321 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/1.205, allocations: 23.81 kB / 1.321 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009447/1.206, allocations: 206.1 kB / 1.321 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/1.208, allocations: 0.5847 MB / 1.322 GB, free: 11.65 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/1.211, allocations: 0.8822 MB / 1.322 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002142/1.213, allocations: 1.479 MB / 1.324 GB, free: 9.289 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/1.214, allocations: 466.3 kB / 1.324 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008572/1.215, allocations: 0.5451 MB / 1.325 GB, free: 8.254 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/1.216, allocations: 0.4976 MB / 1.325 GB, free: 7.754 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/1.216, allocations: 132 kB / 1.325 GB, free: 7.625 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/1.217, allocations: 0.4918 MB / 1.326 GB, free: 7.133 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004077/1.217, allocations: 331 kB / 1.326 GB, free: 6.809 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000558/1.218, allocations: 0.5015 MB / 1.327 GB, free: 6.305 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/1.22, allocations: 1.821 MB / 1.329 GB, free: 4.48 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.22, allocations: 0 / 1.329 GB, free: 4.48 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/1.22, allocations: 0 / 1.329 GB, free: 4.48 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.777e-05/1.22, allocations: 0 / 1.329 GB, free: 4.48 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.002801/1.223, allocations: 1.497 MB / 1.33 GB, free: 2.949 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.223, allocations: 15.97 kB / 1.33 GB, free: 2.934 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/1.226, allocations: 363.8 kB / 1.33 GB, free: 2.578 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.227, allocations: 0.7454 MB / 1.331 GB, free: 1.805 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.28e-05/1.227, allocations: 74 kB / 1.331 GB, free: 1.73 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.227, allocations: 92 kB / 1.331 GB, free: 1.641 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/1.23, allocations: 1.325 MB / 1.333 GB, free: 224 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.23, allocations: 0 / 1.333 GB, free: 224 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/1.23, allocations: 40 kB / 1.333 GB, free: 184 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/1.23, allocations: 24 kB / 1.333 GB, free: 160 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/1.232, allocations: 1.229 MB / 1.334 GB, free: 14.92 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/1.237, allocations: 2.249 MB / 1.336 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/1.24, allocations: 0.9008 MB / 1.337 GB, free: 11.72 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/1.241, allocations: 338.6 kB / 1.337 GB, free: 11.39 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-05/1.241, allocations: 24.64 kB / 1.337 GB, free: 11.36 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/1.242, allocations: 0.6571 MB / 1.338 GB, free: 10.67 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.335e-06/1.242, allocations: 4 kB / 1.338 GB, free: 10.67 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.004201/1.246, allocations: 1.305 MB / 1.339 GB, free: 9.355 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.246, allocations: 200.9 kB / 1.339 GB, free: 9.113 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/1.247, allocations: 0.5978 MB / 1.34 GB, free: 8.504 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/1.247, allocations: 41.7 kB / 1.34 GB, free: 8.457 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/1.248, allocations: 449 kB / 1.34 GB, free: 8.012 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/1.248, allocations: 281.6 kB / 1.341 GB, free: 7.734 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/1.248, allocations: 166.6 kB / 1.341 GB, free: 7.566 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.248, allocations: 382.8 kB / 1.341 GB, free: 7.184 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/1.249, allocations: 325.8 kB / 1.341 GB, free: 6.867 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.25, allocations: 0.5425 MB / 1.342 GB, free: 6.277 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/1.252, allocations: 0.714 MB / 1.343 GB, free: 5.555 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.252, allocations: 4.062 kB / 1.343 GB, free: 5.551 MB / 1.186 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002658/1.255, allocations: 0.9701 MB / 1.344 GB, free: 4.566 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.255, allocations: 8 kB / 1.344 GB, free: 4.559 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.255, allocations: 0 / 1.344 GB, free: 4.559 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/1.255, allocations: 80.88 kB / 1.344 GB, free: 4.477 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/1.256, allocations: 187.7 kB / 1.344 GB, free: 4.293 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/1.259, allocations: 1.509 MB / 1.345 GB, free: 2.676 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/1.26, allocations: 107.6 kB / 1.346 GB, free: 2.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/1.26, allocations: 39.91 kB / 1.346 GB, free: 2.531 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (98): * Single equations (assignments): 97 * 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.000521/1.26, allocations: 275.9 kB / 1.346 GB, free: 2.254 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/1.26, allocations: 83.48 kB / 1.346 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/1.264, allocations: 1.202 MB / 1.347 GB, free: 0.957 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.264, allocations: 8 kB / 1.347 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/1.264, allocations: 4 kB / 1.347 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.264, allocations: 3.984 kB / 1.347 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/1.268, allocations: 1.879 MB / 1.349 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.268, allocations: 0 / 1.349 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/1.268, allocations: 175.8 kB / 1.349 GB, free: 14.85 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/1.269, allocations: 80.7 kB / 1.349 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/1.269, allocations: 27.97 kB / 1.349 GB, free: 14.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/1.271, allocations: 1.52 MB / 1.351 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.271, allocations: 0 / 1.351 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/1.274, allocations: 1.123 MB / 1.352 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/1.274, allocations: 199.1 kB / 1.352 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.275, allocations: 23.98 kB / 1.352 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/1.275, allocations: 80.48 kB / 1.352 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.276, allocations: 76.84 kB / 1.352 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/1.276, allocations: 35.98 kB / 1.352 GB, free: 11.56 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006363/1.276, allocations: 435 kB / 1.353 GB, free: 11.14 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.276, allocations: 0 / 1.353 GB, free: 11.14 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001044/1.277, allocations: 367 kB / 1.353 GB, free: 10.79 MB / 1.201 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.002163/1.279, allocations: 0.6344 MB / 1.354 GB, free: 10.35 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002356/1.282, allocations: 0.925 MB / 1.354 GB, free: 9.414 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.282, allocations: 3.938 kB / 1.354 GB, free: 9.41 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.283, allocations: 0.5509 MB / 1.355 GB, free: 8.848 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.284, allocations: 297.5 kB / 1.355 GB, free: 8.578 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/1.288, allocations: 1.829 MB / 1.357 GB, free: 6.719 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/1.289, allocations: 470.8 kB / 1.358 GB, free: 6.223 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009223/1.29, allocations: 270.6 kB / 1.358 GB, free: 5.953 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/1.29, allocations: 112.4 kB / 1.358 GB, free: 5.844 MB / 1.201 GB Notification: Performance of SimCode: time 5.41e-07/1.29, allocations: 0 / 1.358 GB, free: 5.844 MB / 1.201 GB Notification: Performance of Templates: time 0.03014/1.32, allocations: 15.88 MB / 1.373 GB, free: 6.25 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.128543935948983]