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.001673/0.001673, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002449/0.002449, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.816/2.816, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.566e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007048/0.007074, allocations: 4.883 MB / 0.9862 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.1914, allocations: 133 MB / 1.116 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000945/0.1923, allocations: 23.81 kB / 1.116 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.193, allocations: 218 kB / 1.116 GB, free: 1.375 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.195, allocations: 0.6127 MB / 1.117 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.1974, allocations: 0.9855 MB / 1.118 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.1996, allocations: 1.713 MB / 1.119 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009431/0.2005, allocations: 498.3 kB / 1.12 GB, free: 13.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.2018, allocations: 0.9161 MB / 1.121 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.2026, allocations: 0.5181 MB / 1.121 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.2028, allocations: 152 kB / 1.121 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.204, allocations: 0.5422 MB / 1.122 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.2044, allocations: 382.7 kB / 1.122 GB, free: 11.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005877/0.205, allocations: 478.8 kB / 1.123 GB, free: 10.56 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.2078, allocations: 2.126 MB / 1.125 GB, free: 8.426 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2078, allocations: 0 / 1.125 GB, free: 8.426 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2078, allocations: 0 / 1.125 GB, free: 8.426 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.2078, allocations: 0 / 1.125 GB, free: 8.426 MB / 1.076 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.003681/0.2115, allocations: 1.685 MB / 1.127 GB, free: 6.703 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2115, allocations: 8.031 kB / 1.127 GB, free: 6.695 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006447/0.218, allocations: 0.8232 MB / 1.127 GB, free: 5.871 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.2198, allocations: 0.7961 MB / 1.128 GB, free: 5.043 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-05/0.2199, allocations: 94.34 kB / 1.128 GB, free: 4.949 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.2201, allocations: 108 kB / 1.128 GB, free: 4.844 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.224, allocations: 1.715 MB / 1.13 GB, free: 3.004 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.224, allocations: 0 / 1.13 GB, free: 3.004 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.2241, allocations: 47.98 kB / 1.13 GB, free: 2.957 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.2242, allocations: 24 kB / 1.13 GB, free: 2.934 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005132/0.2293, allocations: 1.843 MB / 1.132 GB, free: 1.082 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5059/0.7352, allocations: 2.895 MB / 1.135 GB, free: 193.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.7384, allocations: 1.269 MB / 1.136 GB, free: 193.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.7398, allocations: 0.5607 MB / 1.137 GB, free: 192.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000503/0.7404, allocations: 87.94 kB / 1.137 GB, free: 192.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.7421, allocations: 0.924 MB / 1.137 GB, free: 192.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=117): time 3.757e-06/0.7421, allocations: 0 / 1.137 GB, free: 192.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=117): time 0.005895/0.748, allocations: 1.948 MB / 1.139 GB, free: 191.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.7481, allocations: 201.7 kB / 1.14 GB, free: 191.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.7488, allocations: 0.6186 MB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.7489, allocations: 50.33 kB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.7492, allocations: 452.6 kB / 1.141 GB, free: 191.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.7494, allocations: 392.2 kB / 1.141 GB, free: 190.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.7497, allocations: 229 kB / 1.141 GB, free: 190.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.7498, allocations: 396.3 kB / 1.142 GB, free: 190.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.7512, allocations: 0.5254 MB / 1.142 GB, free: 190.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.7528, allocations: 0.7798 MB / 1.143 GB, free: 189.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/0.7558, allocations: 1.126 MB / 1.144 GB, free: 189.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.7558, allocations: 1.312 kB / 1.144 GB, free: 189.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004056/0.7598, allocations: 1.457 MB / 1.145 GB, free: 188.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7599, allocations: 7.281 kB / 1.145 GB, free: 188.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.7599, allocations: 0 / 1.145 GB, free: 188.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.7605, allocations: 86.81 kB / 1.146 GB, free: 188.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7619, allocations: 274.9 kB / 1.146 GB, free: 188.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.7636, allocations: 1.502 MB / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.765, allocations: 170.2 kB / 1.147 GB, free: 187.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.7651, allocations: 52.33 kB / 1.147 GB, free: 187.3 MB / 1.076 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.0005566/0.7656, allocations: 297.5 kB / 1.148 GB, free: 187.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.7659, allocations: 92.95 kB / 1.148 GB, free: 187.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.7702, allocations: 1.721 MB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7702, allocations: 12.88 kB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7702, allocations: 2.906 kB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.7702, allocations: 9.234 kB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.7758, allocations: 2.691 MB / 1.152 GB, free: 185.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7758, allocations: 0 / 1.152 GB, free: 185.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.7771, allocations: 259.7 kB / 1.152 GB, free: 185.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.7775, allocations: 81.89 kB / 1.153 GB, free: 185.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.133e-05/0.7776, allocations: 37.92 kB / 1.153 GB, free: 185.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.7791, allocations: 1.523 MB / 1.154 GB, free: 183.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7791, allocations: 0 / 1.154 GB, free: 183.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.783, allocations: 1.583 MB / 1.156 GB, free: 183.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.7835, allocations: 246.2 kB / 1.156 GB, free: 183.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.7837, allocations: 27.95 kB / 1.156 GB, free: 183 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7849, allocations: 124.1 kB / 1.156 GB, free: 183 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.7851, allocations: 97.88 kB / 1.156 GB, free: 183 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.403e-05/0.7852, allocations: 51.09 kB / 1.156 GB, free: 183 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004658/0.7857, allocations: 441.1 kB / 1.157 GB, free: 182.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7857, allocations: 0 / 1.157 GB, free: 182.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001013/0.7867, allocations: 425.3 kB / 1.157 GB, free: 182.7 MB / 1.076 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 (130): * Single equations (assignments): 119 * 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.002058/0.7887, allocations: 0.694 MB / 1.158 GB, free: 182.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003703/0.7924, allocations: 1.387 MB / 1.159 GB, free: 182 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7924, allocations: 4 kB / 1.159 GB, free: 182 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.7943, allocations: 0.7757 MB / 1.16 GB, free: 181.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.7957, allocations: 309.4 kB / 1.16 GB, free: 181.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.7996, allocations: 2.164 MB / 1.162 GB, free: 180.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.8003, allocations: 0.5015 MB / 1.163 GB, free: 180.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001316/0.8016, allocations: 345 kB / 1.163 GB, free: 180.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.8021, allocations: 132.5 kB / 1.163 GB, free: 180.2 MB / 1.076 GB Notification: Performance of SimCode: time 1.432e-06/0.8021, allocations: 0 / 1.163 GB, free: 180.2 MB / 1.076 GB Notification: Performance of Templates: time 0.03351/0.8356, allocations: 18.76 MB / 1.181 GB, free: 178.1 MB / 1.076 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 -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/jenkins/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.518115643411875]