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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7815, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005091/0.7866, allocations: 3.901 MB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.9609, allocations: 127.7 MB / 1.149 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008975/0.9619, allocations: 19.81 kB / 1.149 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.9623, allocations: 83.25 kB / 1.149 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.964, allocations: 0.4936 MB / 1.15 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.9659, allocations: 0.7134 MB / 1.151 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.9672, allocations: 0.9085 MB / 1.152 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008301/0.9681, allocations: 0.578 MB / 1.152 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.9687, allocations: 410.3 kB / 1.152 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.9692, allocations: 437.8 kB / 1.153 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.9693, allocations: 32 kB / 1.153 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008555/0.9702, allocations: 339.6 kB / 1.153 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.9704, allocations: 219.1 kB / 1.153 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.9706, allocations: 225.1 kB / 1.154 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.972, allocations: 1.333 MB / 1.155 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.972, allocations: 0 / 1.155 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.964e-06/0.972, allocations: 0 / 1.155 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.972, allocations: 0 / 1.155 GB, free: 7.367 MB / 0.9044 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.002767/0.9748, allocations: 1.419 MB / 1.156 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.9748, allocations: 11.98 kB / 1.156 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/0.9801, allocations: 0.8255 MB / 1.157 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.9815, allocations: 0.781 MB / 1.158 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.9816, allocations: 82.2 kB / 1.158 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.9818, allocations: 104 kB / 1.158 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.9849, allocations: 1.444 MB / 1.16 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.985, allocations: 0 / 1.16 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.9851, allocations: 48 kB / 1.16 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.9851, allocations: 28 kB / 1.16 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004882/0.99, allocations: 1.928 MB / 1.161 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00744/0.9975, allocations: 3.31 MB / 1.165 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/1.001, allocations: 1.385 MB / 1.166 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/1.001, allocations: 486.5 kB / 1.167 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/1.003, allocations: 0.7972 MB / 1.167 GB, free: 10.36 MB / 0.92 GB Notification: Performance of pre-optimization done (n=109): time 3.155e-06/1.003, allocations: 0 / 1.167 GB, free: 10.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=109): time 0.005871/1.009, allocations: 1.986 MB / 1.169 GB, free: 8.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/1.009, allocations: 192.9 kB / 1.169 GB, free: 8.117 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/1.01, allocations: 0.645 MB / 1.17 GB, free: 7.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/1.01, allocations: 49.7 kB / 1.17 GB, free: 7.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/1.011, allocations: 436.5 kB / 1.171 GB, free: 6.977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.011, allocations: 354.8 kB / 1.171 GB, free: 6.625 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/1.011, allocations: 20 kB / 1.171 GB, free: 6.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.011, allocations: 402.7 kB / 1.171 GB, free: 6.203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/1.013, allocations: 493.7 kB / 1.172 GB, free: 5.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.014, allocations: 0.6046 MB / 1.172 GB, free: 5.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.016, allocations: 0.5144 MB / 1.173 GB, free: 4.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.016, allocations: 4 kB / 1.173 GB, free: 4.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003833/1.02, allocations: 1.329 MB / 1.174 GB, free: 3.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/1.02, allocations: 12.12 kB / 1.174 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.02, allocations: 0 / 1.174 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/1.02, allocations: 92.69 kB / 1.174 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.022, allocations: 263.7 kB / 1.174 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/1.024, allocations: 1.539 MB / 1.176 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.025, allocations: 171.2 kB / 1.176 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/1.025, allocations: 39.97 kB / 1.176 GB, free: 0.9844 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005855/1.026, allocations: 293.5 kB / 1.176 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.026, allocations: 99.11 kB / 1.177 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/1.03, allocations: 1.691 MB / 1.178 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.03, allocations: 12 kB / 1.178 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.03, allocations: 0 / 1.178 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.03, allocations: 3.984 kB / 1.178 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/1.036, allocations: 2.874 MB / 1.181 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.036, allocations: 0 / 1.181 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.038, allocations: 255.6 kB / 1.181 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/1.038, allocations: 88.77 kB / 1.181 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/1.038, allocations: 31.97 kB / 1.181 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/1.04, allocations: 1.563 MB / 1.183 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.04, allocations: 7.938 kB / 1.183 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/1.044, allocations: 1.531 MB / 1.184 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/1.045, allocations: 331.4 kB / 1.185 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/1.045, allocations: 27.95 kB / 1.185 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.046, allocations: 142.3 kB / 1.185 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.047, allocations: 84.88 kB / 1.185 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.047, allocations: 47.97 kB / 1.185 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006732/1.047, allocations: 475 kB / 1.185 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/1.047, allocations: 3.938 kB / 1.185 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001138/1.049, allocations: 379.1 kB / 1.186 GB, free: 6.828 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/1.05, allocations: 0.6056 MB / 1.186 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003575/1.054, allocations: 1.366 MB / 1.188 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.054, allocations: 3.984 kB / 1.188 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.055, allocations: 0.8125 MB / 1.189 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.057, allocations: 251.5 kB / 1.189 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/1.062, allocations: 2.711 MB / 1.191 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/1.063, allocations: 1.108 MB / 1.193 GB, free: 80 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001598/1.065, allocations: 343.7 kB / 1.193 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/1.065, allocations: 131.3 kB / 1.193 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of SimCode: time 8.11e-07/1.065, allocations: 0 / 1.193 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of Templates: time 0.03467/1.1, allocations: 16.84 MB / 1.209 GB, free: 14.96 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches