Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.00133, allocations: 111.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 163.8 MB / 1.263 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006995/1.067, allocations: 5.397 MB / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2094/1.277, allocations: 150.8 MB / 1.415 GB, free: 4.422 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/1.279, allocations: 16.47 kB / 1.415 GB, free: 4.418 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009651/1.28, allocations: 212 kB / 1.415 GB, free: 4.23 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002961/1.283, allocations: 0.5685 MB / 1.416 GB, free: 3.801 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/1.286, allocations: 0.9588 MB / 1.417 GB, free: 3.066 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002619/1.289, allocations: 1.627 MB / 1.418 GB, free: 2.062 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/1.29, allocations: 0.7528 MB / 1.419 GB, free: 1.594 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/1.291, allocations: 0.5855 MB / 1.42 GB, free: 1.242 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/1.292, allocations: 0.65 MB / 1.42 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/1.292, allocations: 142 kB / 1.421 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/1.294, allocations: 0.5253 MB / 1.421 GB, free: 0.582 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/1.294, allocations: 357.9 kB / 1.421 GB, free: 304 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007695/1.295, allocations: 0.6706 MB / 1.422 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/1.298, allocations: 1.923 MB / 1.424 GB, free: 14.4 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.298, allocations: 1.156 kB / 1.424 GB, free: 14.4 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.174e-06/1.298, allocations: 0 / 1.424 GB, free: 14.4 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.33e-05/1.298, allocations: 0 / 1.424 GB, free: 14.4 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003629/1.302, allocations: 1.717 MB / 1.426 GB, free: 13.08 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.302, allocations: 9.5 kB / 1.426 GB, free: 13.08 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/1.307, allocations: 0.7655 MB / 1.426 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.309, allocations: 0.8419 MB / 1.427 GB, free: 12.04 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/1.309, allocations: 82.3 kB / 1.427 GB, free: 12 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/1.309, allocations: 103 kB / 1.427 GB, free: 11.97 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/1.312, allocations: 1.429 MB / 1.429 GB, free: 11.08 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/1.312, allocations: 4 kB / 1.429 GB, free: 11.07 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.313, allocations: 47.38 kB / 1.429 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/1.313, allocations: 26.94 kB / 1.429 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/1.318, allocations: 1.888 MB / 1.431 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007153/1.325, allocations: 3.603 MB / 1.434 GB, free: 7.301 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/1.329, allocations: 1.389 MB / 1.436 GB, free: 6.551 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/1.33, allocations: 0.6024 MB / 1.436 GB, free: 6.215 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/1.331, allocations: 486.5 kB / 1.437 GB, free: 5.645 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002027/1.333, allocations: 0.8049 MB / 1.437 GB, free: 4.82 MB / 1.123 GB Notification: Performance of pre-optimization done (n=109): time 2.906e-06/1.333, allocations: 0 / 1.437 GB, free: 4.82 MB / 1.123 GB Notification: Performance of matching and sorting (n=109): time 0.006613/1.34, allocations: 1.981 MB / 1.439 GB, free: 2.812 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.34, allocations: 192.9 kB / 1.439 GB, free: 2.582 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.341, allocations: 0.6527 MB / 1.44 GB, free: 1.922 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/1.341, allocations: 45.7 kB / 1.44 GB, free: 1.871 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/1.341, allocations: 445.4 kB / 1.441 GB, free: 1.43 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/1.342, allocations: 376.8 kB / 1.441 GB, free: 1.059 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/1.342, allocations: 214.4 kB / 1.441 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002146/1.342, allocations: 402.7 kB / 1.442 GB, free: 452 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/1.344, allocations: 0.4977 MB / 1.442 GB, free: 15.94 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/1.346, allocations: 0.613 MB / 1.443 GB, free: 15.31 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/1.349, allocations: 1.086 MB / 1.444 GB, free: 14.21 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/1.349, allocations: 4 kB / 1.444 GB, free: 14.21 MB / 1.139 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004395/1.353, allocations: 1.38 MB / 1.445 GB, free: 12.82 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.353, allocations: 4 kB / 1.445 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.353, allocations: 4 kB / 1.445 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/1.354, allocations: 84.89 kB / 1.445 GB, free: 12.72 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.355, allocations: 267.6 kB / 1.445 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/1.358, allocations: 1.641 MB / 1.447 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.359, allocations: 160.8 kB / 1.447 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.36, allocations: 51.95 kB / 1.447 GB, free: 10.47 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.0006798/1.36, allocations: 287.3 kB / 1.447 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/1.361, allocations: 111.3 kB / 1.448 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/1.365, allocations: 1.668 MB / 1.449 GB, free: 8.387 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.366, allocations: 12 kB / 1.449 GB, free: 8.375 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.366, allocations: 3.938 kB / 1.449 GB, free: 8.371 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.366, allocations: 7.984 kB / 1.449 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/1.372, allocations: 2.797 MB / 1.452 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.372, allocations: 0 / 1.452 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.373, allocations: 247.7 kB / 1.452 GB, free: 5.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/1.374, allocations: 76.78 kB / 1.452 GB, free: 5.191 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.374, allocations: 35.91 kB / 1.452 GB, free: 5.156 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/1.376, allocations: 1.654 MB / 1.454 GB, free: 3.352 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.376, allocations: 3.938 kB / 1.454 GB, free: 3.348 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004435/1.381, allocations: 1.533 MB / 1.455 GB, free: 1.793 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/1.381, allocations: 323.9 kB / 1.456 GB, free: 1.457 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/1.382, allocations: 28 kB / 1.456 GB, free: 1.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.383, allocations: 120 kB / 1.456 GB, free: 1.312 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.383, allocations: 92.86 kB / 1.456 GB, free: 1.223 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.383, allocations: 52.03 kB / 1.456 GB, free: 1.172 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006781/1.384, allocations: 471 kB / 1.456 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.384, allocations: 0 / 1.456 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001175/1.385, allocations: 410.9 kB / 1.457 GB, free: 320 kB / 1.139 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 (122): * Single equations (assignments): 116 * 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.002112/1.387, allocations: 0.6275 MB / 1.457 GB, free: 15.87 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004216/1.391, allocations: 1.401 MB / 1.459 GB, free: 14.46 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.391, allocations: 0 / 1.459 GB, free: 14.46 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/1.394, allocations: 0.8124 MB / 1.46 GB, free: 13.63 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.395, allocations: 316.5 kB / 1.46 GB, free: 13.34 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/1.4, allocations: 2.174 MB / 1.462 GB, free: 11.14 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/1.401, allocations: 1.08 MB / 1.463 GB, free: 10.03 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/1.401, allocations: 147.3 kB / 1.463 GB, free: 9.883 MB / 1.154 GB Notification: Performance of SimCode: time 8.91e-07/1.401, allocations: 0 / 1.463 GB, free: 9.883 MB / 1.154 GB Notification: Performance of Templates: time 0.03537/1.437, allocations: 22.86 MB / 1.486 GB, free: 3.125 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time [Calling sys.exit(0), Time elapsed: 14.760482512181625]