Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.001337/0.001337, allocations: 79.34 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.001404/0.001404, allocations: 156.6 kB / 23.01 MB, free: 4.941 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.783/2.783, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [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.002258/0.002258, allocations: 59.91 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8712/0.8734, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005136/0.8786, allocations: 4.879 MB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1662/1.045, allocations: 132.9 MB / 1.288 GB, free: 4.457 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008865/1.046, allocations: 23.69 kB / 1.288 GB, free: 4.445 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008319/1.046, allocations: 217.6 kB / 1.289 GB, free: 4.297 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002187/1.049, allocations: 0.5903 MB / 1.289 GB, free: 3.938 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/1.051, allocations: 0.9703 MB / 1.29 GB, free: 3.414 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002358/1.054, allocations: 1.651 MB / 1.292 GB, free: 2.57 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/1.055, allocations: 492.5 kB / 1.292 GB, free: 2.27 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/1.056, allocations: 0.628 MB / 1.293 GB, free: 1.965 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/1.057, allocations: 0.5846 MB / 1.293 GB, free: 1.703 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000277/1.057, allocations: 143.6 kB / 1.294 GB, free: 1.703 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/1.059, allocations: 0.535 MB / 1.294 GB, free: 1.578 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/1.059, allocations: 367.9 kB / 1.294 GB, free: 1.344 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006777/1.06, allocations: 0.5536 MB / 1.295 GB, free: 1.02 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/1.062, allocations: 1.98 MB / 1.297 GB, free: 188 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.062, allocations: 0.8438 kB / 1.297 GB, free: 188 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.884e-06/1.062, allocations: 1 kB / 1.297 GB, free: 188 kB / 1.139 GB Notification: Performance of Transformations before backend: time 2.98e-05/1.063, allocations: 3.938 kB / 1.297 GB, free: 184 kB / 1.139 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.003671/1.066, allocations: 1.665 MB / 1.299 GB, free: 15.01 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.066, allocations: 10.22 kB / 1.299 GB, free: 15.01 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006449/1.073, allocations: 0.821 MB / 1.299 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/1.075, allocations: 0.7835 MB / 1.3 GB, free: 14.02 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/1.075, allocations: 83.67 kB / 1.3 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/1.075, allocations: 106.1 kB / 1.3 GB, free: 13.95 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00377/1.079, allocations: 1.687 MB / 1.302 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.079, allocations: 1.219 kB / 1.302 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.079, allocations: 50.33 kB / 1.302 GB, free: 12.7 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/1.079, allocations: 26.56 kB / 1.302 GB, free: 12.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005077/1.084, allocations: 1.835 MB / 1.304 GB, free: 11.81 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006929/1.091, allocations: 2.738 MB / 1.307 GB, free: 9.855 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/1.094, allocations: 1.222 MB / 1.308 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/1.096, allocations: 0.5408 MB / 1.308 GB, free: 8.969 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/1.097, allocations: 96.52 kB / 1.308 GB, free: 8.926 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/1.099, allocations: 0.9013 MB / 1.309 GB, free: 8.312 MB / 1.154 GB Notification: Performance of pre-optimization done (n=109): time 3.737e-06/1.099, allocations: 0 / 1.309 GB, free: 8.312 MB / 1.154 GB Notification: Performance of matching and sorting (n=109): time 0.006807/1.106, allocations: 1.915 MB / 1.311 GB, free: 7.379 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.106, allocations: 191.4 kB / 1.311 GB, free: 7.16 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.107, allocations: 0.6083 MB / 1.312 GB, free: 6.598 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/1.107, allocations: 45.7 kB / 1.312 GB, free: 6.547 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/1.107, allocations: 465.4 kB / 1.312 GB, free: 6.086 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/1.108, allocations: 364.8 kB / 1.313 GB, free: 5.727 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/1.108, allocations: 210.5 kB / 1.313 GB, free: 5.516 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002561/1.109, allocations: 394.7 kB / 1.313 GB, free: 5.121 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.11, allocations: 0.5016 MB / 1.314 GB, free: 4.617 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/1.112, allocations: 0.7425 MB / 1.314 GB, free: 3.824 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.116, allocations: 1.082 MB / 1.316 GB, free: 2.727 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.116, allocations: 7.875 kB / 1.316 GB, free: 2.719 MB / 1.154 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004516/1.12, allocations: 1.372 MB / 1.317 GB, free: 1.34 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.12, allocations: 8 kB / 1.317 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.12, allocations: 0 / 1.317 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/1.121, allocations: 92.88 kB / 1.317 GB, free: 1.238 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.122, allocations: 267.6 kB / 1.317 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/1.125, allocations: 1.504 MB / 1.319 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.126, allocations: 155.4 kB / 1.319 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/1.126, allocations: 51.95 kB / 1.319 GB, free: 15.16 MB / 1.17 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.0006971/1.127, allocations: 292.5 kB / 1.319 GB, free: 14.87 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/1.128, allocations: 103.3 kB / 1.319 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005209/1.133, allocations: 1.664 MB / 1.321 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.133, allocations: 12 kB / 1.321 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.133, allocations: 0 / 1.321 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.133, allocations: 11.97 kB / 1.321 GB, free: 13.06 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006951/1.14, allocations: 2.47 MB / 1.323 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.14, allocations: 0 / 1.323 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.141, allocations: 255.6 kB / 1.324 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/1.142, allocations: 72.78 kB / 1.324 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.142, allocations: 39.91 kB / 1.324 GB, free: 10.19 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.144, allocations: 1.528 MB / 1.325 GB, free: 8.551 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.144, allocations: 0 / 1.325 GB, free: 8.551 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/1.149, allocations: 1.533 MB / 1.327 GB, free: 7 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/1.149, allocations: 234.9 kB / 1.327 GB, free: 6.77 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/1.15, allocations: 28.05 kB / 1.327 GB, free: 6.742 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.151, allocations: 122.5 kB / 1.327 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/1.152, allocations: 96.75 kB / 1.327 GB, free: 6.531 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.152, allocations: 47.97 kB / 1.327 GB, free: 6.484 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000773/1.152, allocations: 443 kB / 1.328 GB, free: 6.059 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.152, allocations: 0 / 1.328 GB, free: 6.059 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001402/1.154, allocations: 414.9 kB / 1.328 GB, free: 5.652 MB / 1.17 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.002497/1.156, allocations: 0.6642 MB / 1.329 GB, free: 5.191 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004431/1.161, allocations: 1.339 MB / 1.33 GB, free: 3.836 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.161, allocations: 0 / 1.33 GB, free: 3.836 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.163, allocations: 0.7578 MB / 1.331 GB, free: 3.066 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.165, allocations: 302.1 kB / 1.331 GB, free: 2.793 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/1.17, allocations: 2.154 MB / 1.333 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/1.17, allocations: 0.4902 MB / 1.334 GB, free: 84 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001453/1.172, allocations: 339.4 kB / 1.334 GB, free: 15.75 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/1.172, allocations: 128.4 kB / 1.334 GB, free: 15.62 MB / 1.186 GB Notification: Performance of SimCode: time 7.51e-07/1.172, allocations: 0 / 1.334 GB, free: 15.62 MB / 1.186 GB Notification: Performance of Templates: time 0.03515/1.207, allocations: 18.3 MB / 1.352 GB, free: 13.64 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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: 9.766457671998069]