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.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.00178/0.00178, allocations: 79.11 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.002159/0.002159, allocations: 157.1 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.442/1.442, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.891/2.891, allocations: 394.2 MB / 0.6386 GB, free: 11.96 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.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: 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.00232/0.00232, allocations: 71.89 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9055, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00619/0.9116, allocations: 4.873 MB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1947/1.106, allocations: 132.9 MB / 1.321 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/1.108, allocations: 23.81 kB / 1.321 GB, free: 12.14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/1.109, allocations: 214 kB / 1.321 GB, free: 11.93 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/1.111, allocations: 0.5962 MB / 1.322 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/1.114, allocations: 0.9723 MB / 1.323 GB, free: 10.37 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002166/1.116, allocations: 1.643 MB / 1.325 GB, free: 8.719 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009542/1.117, allocations: 498.3 kB / 1.325 GB, free: 8.188 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/1.118, allocations: 0.6191 MB / 1.326 GB, free: 7.566 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009572/1.119, allocations: 0.5833 MB / 1.326 GB, free: 6.98 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/1.119, allocations: 148 kB / 1.326 GB, free: 6.836 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/1.121, allocations: 0.5308 MB / 1.327 GB, free: 6.305 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004173/1.121, allocations: 366.8 kB / 1.327 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006712/1.122, allocations: 0.5599 MB / 1.328 GB, free: 5.383 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/1.125, allocations: 1.977 MB / 1.33 GB, free: 3.402 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.125, allocations: 0 / 1.33 GB, free: 3.402 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.175e-06/1.125, allocations: 0 / 1.33 GB, free: 3.402 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.867e-05/1.125, allocations: 0 / 1.33 GB, free: 3.402 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003683/1.128, allocations: 1.665 MB / 1.331 GB, free: 1.699 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.129, allocations: 8.031 kB / 1.331 GB, free: 1.691 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/1.144, allocations: 2.345 MB / 1.334 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/1.146, allocations: 0.8233 MB / 1.334 GB, free: 14.49 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.659e-05/1.146, allocations: 82.2 kB / 1.334 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/1.147, allocations: 108 kB / 1.335 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007955/1.155, allocations: 2.553 MB / 1.337 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.155, allocations: 0 / 1.337 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/1.155, allocations: 40 kB / 1.337 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/1.155, allocations: 31.98 kB / 1.337 GB, free: 11.55 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/1.168, allocations: 3.462 MB / 1.34 GB, free: 8.082 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/1.18, allocations: 5.016 MB / 1.345 GB, free: 2.383 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007836/1.188, allocations: 2.031 MB / 1.347 GB, free: 360 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005934/1.194, allocations: 1.358 MB / 1.349 GB, free: 14.99 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/1.194, allocations: 32.97 kB / 1.349 GB, free: 14.96 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006591/1.201, allocations: 1.764 MB / 1.35 GB, free: 13.15 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 4.067e-06/1.201, allocations: 0 / 1.35 GB, free: 13.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.01913/1.22, allocations: 4.209 MB / 1.355 GB, free: 8.934 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/1.22, allocations: 192.9 kB / 1.355 GB, free: 8.699 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.221, allocations: 0.6057 MB / 1.355 GB, free: 8.086 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/1.221, allocations: 49.7 kB / 1.355 GB, free: 8.031 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/1.222, allocations: 461.2 kB / 1.356 GB, free: 7.578 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/1.222, allocations: 376.8 kB / 1.356 GB, free: 7.207 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/1.223, allocations: 210.5 kB / 1.356 GB, free: 6.996 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002202/1.223, allocations: 390.8 kB / 1.357 GB, free: 6.605 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005875/1.229, allocations: 1.313 MB / 1.358 GB, free: 5.293 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/1.235, allocations: 1.55 MB / 1.36 GB, free: 3.691 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/1.246, allocations: 2.452 MB / 1.362 GB, free: 1.227 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/1.246, allocations: 3.938 kB / 1.362 GB, free: 1.223 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01281/1.259, allocations: 2.871 MB / 1.365 GB, free: 14.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.259, allocations: 8 kB / 1.365 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.259, allocations: 3.984 kB / 1.365 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/1.259, allocations: 92.88 kB / 1.365 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/1.263, allocations: 0.5735 MB / 1.365 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/1.265, allocations: 1.501 MB / 1.367 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/1.269, allocations: 475.1 kB / 1.367 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/1.269, allocations: 47.95 kB / 1.367 GB, free: 11.54 MB / 1.217 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.0008448/1.27, allocations: 299.7 kB / 1.368 GB, free: 11.24 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/1.27, allocations: 95.38 kB / 1.368 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.284, allocations: 3.217 MB / 1.371 GB, free: 7.91 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/1.284, allocations: 16 kB / 1.371 GB, free: 7.895 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.284, allocations: 3.984 kB / 1.371 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/1.284, allocations: 7.922 kB / 1.371 GB, free: 7.883 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/1.3, allocations: 4.831 MB / 1.376 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.301, allocations: 3.938 kB / 1.376 GB, free: 2.695 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003585/1.304, allocations: 0.558 MB / 1.376 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/1.305, allocations: 72.78 kB / 1.376 GB, free: 2.062 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/1.305, allocations: 43.89 kB / 1.376 GB, free: 2.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/1.307, allocations: 1.528 MB / 1.378 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.307, allocations: 0 / 1.378 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/1.32, allocations: 3.036 MB / 1.381 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/1.321, allocations: 258.9 kB / 1.381 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/1.321, allocations: 31.98 kB / 1.381 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003341/1.325, allocations: 436.4 kB / 1.381 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/1.325, allocations: 92.77 kB / 1.382 GB, free: 12.52 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.325, allocations: 56.02 kB / 1.382 GB, free: 12.46 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007637/1.326, allocations: 443 kB / 1.382 GB, free: 12.04 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.326, allocations: 0 / 1.382 GB, free: 12.04 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001427/1.327, allocations: 434.9 kB / 1.382 GB, free: 11.61 MB / 1.232 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.002275/1.329, allocations: 0.648 MB / 1.383 GB, free: 11.17 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.342, allocations: 2.959 MB / 1.386 GB, free: 8.199 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.342, allocations: 0 / 1.386 GB, free: 8.199 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.006613/1.349, allocations: 1.57 MB / 1.387 GB, free: 6.617 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.351, allocations: 300.7 kB / 1.388 GB, free: 6.344 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/1.361, allocations: 2.952 MB / 1.391 GB, free: 3.355 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/1.361, allocations: 0.4987 MB / 1.391 GB, free: 2.824 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002139/1.364, allocations: 383.4 kB / 1.392 GB, free: 2.445 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007213/1.364, allocations: 132.4 kB / 1.392 GB, free: 2.316 MB / 1.232 GB Notification: Performance of SimCode: time 1.132e-06/1.364, allocations: 4 kB / 1.392 GB, free: 2.312 MB / 1.232 GB Notification: Performance of Templates: time 0.04062/1.405, allocations: 20.61 MB / 1.412 GB, free: 13.98 MB / 1.264 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 -s ida -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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.329178591025993]