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.002458/0.002458, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003148/0.003148, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.397/3.397, allocations: 429.4 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.199e-05, allocations: 5.547 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008738/0.00877, allocations: 5.181 MB / 0.8825 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.208/0.2168, allocations: 146.5 MB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.2178, allocations: 23.81 kB / 1.026 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.2187, allocations: 210 kB / 1.026 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.2212, allocations: 0.6095 MB / 1.026 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.2236, allocations: 0.9738 MB / 1.027 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.2258, allocations: 1.709 MB / 1.029 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009284/0.2268, allocations: 0.4944 MB / 1.029 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.2281, allocations: 0.9006 MB / 1.03 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.2289, allocations: 0.5219 MB / 1.031 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.2291, allocations: 152 kB / 1.031 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.2302, allocations: 0.5383 MB / 1.032 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.2307, allocations: 378.8 kB / 1.032 GB, free: 7.887 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006333/0.2313, allocations: 486.8 kB / 1.032 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.2344, allocations: 2.126 MB / 1.034 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2344, allocations: 0 / 1.034 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2344, allocations: 0 / 1.034 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.2344, allocations: 0 / 1.034 GB, free: 5.277 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003814/0.2382, allocations: 1.878 MB / 1.036 GB, free: 3.352 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2382, allocations: 8.031 kB / 1.036 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.2485, allocations: 1.467 MB / 1.038 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.2504, allocations: 0.8379 MB / 1.039 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.2505, allocations: 90.34 kB / 1.039 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.2508, allocations: 119.9 kB / 1.039 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.2565, allocations: 2.203 MB / 1.041 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.2565, allocations: 0 / 1.041 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.2566, allocations: 51.98 kB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.2567, allocations: 28 kB / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007681/0.2644, allocations: 2.585 MB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.276, allocations: 5.564 MB / 1.049 GB, free: 5.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.281, allocations: 1.606 MB / 1.05 GB, free: 3.887 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003193/0.2842, allocations: 0.9803 MB / 1.051 GB, free: 2.906 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.2843, allocations: 40.97 kB / 1.051 GB, free: 2.863 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003798/0.2881, allocations: 1.424 MB / 1.053 GB, free: 1.395 MB / 1.01 GB Notification: Performance of pre-optimization done (n=117): time 3.417e-06/0.2881, allocations: 0 / 1.053 GB, free: 1.395 MB / 1.01 GB Notification: Performance of matching and sorting (n=117): time 0.468/0.7561, allocations: 3.004 MB / 1.056 GB, free: 219.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.7562, allocations: 204 kB / 1.056 GB, free: 219.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.757, allocations: 0.7655 MB / 1.057 GB, free: 219.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.7571, allocations: 53.52 kB / 1.057 GB, free: 219.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.7574, allocations: 0.529 MB / 1.057 GB, free: 219 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.7576, allocations: 419.7 kB / 1.058 GB, free: 218.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/0.7581, allocations: 269.4 kB / 1.058 GB, free: 218.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7582, allocations: 0.6256 MB / 1.059 GB, free: 218 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/0.7608, allocations: 0.9075 MB / 1.059 GB, free: 217.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/0.7636, allocations: 1.201 MB / 1.061 GB, free: 217.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/0.7683, allocations: 1.612 MB / 1.062 GB, free: 217 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7683, allocations: 3.031 kB / 1.062 GB, free: 217 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.006224/0.7745, allocations: 2.117 MB / 1.064 GB, free: 216.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7745, allocations: 10.61 kB / 1.064 GB, free: 216.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7746, allocations: 0 / 1.064 GB, free: 216.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009338/0.7755, allocations: 139.4 kB / 1.064 GB, free: 216.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.7775, allocations: 375.9 kB / 1.065 GB, free: 216.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.7794, allocations: 2.03 MB / 1.067 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.7812, allocations: 221.7 kB / 1.067 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.7814, allocations: 51.84 kB / 1.067 GB, free: 214.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (137): * Single equations (assignments): 136 * 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.0005295/0.7819, allocations: 308.3 kB / 1.067 GB, free: 214.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.7822, allocations: 145.2 kB / 1.067 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006628/0.7888, allocations: 2.39 MB / 1.07 GB, free: 213.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.7888, allocations: 11.38 kB / 1.07 GB, free: 213.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7888, allocations: 0 / 1.07 GB, free: 213.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.7888, allocations: 6.797 kB / 1.07 GB, free: 213.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00841/0.7973, allocations: 4.423 MB / 1.074 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7973, allocations: 6.719 kB / 1.074 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.7992, allocations: 333 kB / 1.074 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/0.7999, allocations: 126.8 kB / 1.075 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.8, allocations: 39.06 kB / 1.075 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.8016, allocations: 2.052 MB / 1.077 GB, free: 209.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.8016, allocations: 9.281 kB / 1.077 GB, free: 209.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006368/0.808, allocations: 2.326 MB / 1.079 GB, free: 208.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/0.8087, allocations: 273.8 kB / 1.079 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.8089, allocations: 30.97 kB / 1.079 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.8106, allocations: 185.8 kB / 1.079 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.8107, allocations: 89.12 kB / 1.079 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.8109, allocations: 54.67 kB / 1.08 GB, free: 208.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005364/0.8114, allocations: 495.8 kB / 1.08 GB, free: 208 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.8114, allocations: 0 / 1.08 GB, free: 208 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00137/0.8128, allocations: 441.6 kB / 1.08 GB, free: 207.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003532/0.8163, allocations: 0.6794 MB / 1.081 GB, free: 207.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006721/0.823, allocations: 2.307 MB / 1.083 GB, free: 207.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.823, allocations: 1.094 kB / 1.083 GB, free: 207.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00343/0.8265, allocations: 1.316 MB / 1.085 GB, free: 206.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.828, allocations: 354.5 kB / 1.085 GB, free: 206.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/0.8336, allocations: 2.558 MB / 1.087 GB, free: 205.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.8341, allocations: 0.4971 MB / 1.088 GB, free: 205.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001521/0.8356, allocations: 368.5 kB / 1.088 GB, free: 205.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.8362, allocations: 137.8 kB / 1.088 GB, free: 205.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.133e-06/0.8362, allocations: 4 kB / 1.088 GB, free: 205.2 MB / 1.01 GB Notification: Performance of Templates: time 0.03718/0.8734, allocations: 21.18 MB / 1.109 GB, free: 202.8 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 240] 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/jenkins/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.178169443039224]