Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 185.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 223.2 MB / 0.7948 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 92.34 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.000426, allocations: 11.58 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.33, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.438/4.768, allocations: 1.733 GB / 2.956 GB, free: 214.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/4.768, allocations: 104.8 kB / 2.956 GB, free: 214.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1509/4.919, allocations: 70.05 MB / 3.024 GB, free: 154.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.994e-06/4.919, allocations: 0 / 3.024 GB, free: 154.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000109/4.92, allocations: 31.98 kB / 3.024 GB, free: 154.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00307/4.923, allocations: 1.365 MB / 3.026 GB, free: 152.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/4.923, allocations: 12.03 kB / 3.026 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/4.927, allocations: 0.6889 MB / 3.026 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/4.929, allocations: 0.6814 MB / 3.027 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.091e-05/4.929, allocations: 78.53 kB / 3.027 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/4.929, allocations: 104 kB / 3.027 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/4.933, allocations: 1.387 MB / 3.029 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/4.933, allocations: 0 / 3.029 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/4.933, allocations: 40.88 kB / 3.029 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/4.933, allocations: 28 kB / 3.029 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/4.937, allocations: 1.89 MB / 3.03 GB, free: 148.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006251/4.944, allocations: 3.141 MB / 3.034 GB, free: 146.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/4.947, allocations: 1.29 MB / 3.035 GB, free: 145.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/4.947, allocations: 481.6 kB / 3.035 GB, free: 144.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/4.949, allocations: 0.7388 MB / 3.036 GB, free: 144.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 3.176e-06/4.949, allocations: 0 / 3.036 GB, free: 144.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.005688/4.955, allocations: 1.869 MB / 3.038 GB, free: 142.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/4.955, allocations: 243.9 kB / 3.038 GB, free: 142.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/4.956, allocations: 0.6128 MB / 3.039 GB, free: 142 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/4.956, allocations: 43.95 kB / 3.039 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/4.956, allocations: 414.2 kB / 3.039 GB, free: 141.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/4.957, allocations: 331.5 kB / 3.039 GB, free: 141.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/4.957, allocations: 18.56 kB / 3.039 GB, free: 141.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001113/4.957, allocations: 387.1 kB / 3.04 GB, free: 141 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/4.958, allocations: 462.4 kB / 3.04 GB, free: 140.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/4.959, allocations: 0.5772 MB / 3.041 GB, free: 140.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/4.961, allocations: 0.4935 MB / 3.041 GB, free: 139.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/4.961, allocations: 0 / 3.041 GB, free: 139.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003544/4.964, allocations: 1.254 MB / 3.042 GB, free: 138.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/4.964, allocations: 5.25 kB / 3.042 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/4.964, allocations: 0 / 3.042 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/4.965, allocations: 87.98 kB / 3.043 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/4.966, allocations: 247.1 kB / 3.043 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/4.968, allocations: 1.518 MB / 3.044 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/4.969, allocations: 165.8 kB / 3.044 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/4.97, allocations: 43.16 kB / 3.044 GB, free: 136.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0007612/4.97, allocations: 272.7 kB / 3.045 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/4.971, allocations: 86.97 kB / 3.045 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/4.975, allocations: 1.604 MB / 3.046 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/4.975, allocations: 19.97 kB / 3.046 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/4.975, allocations: 0 / 3.046 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/4.975, allocations: 7.938 kB / 3.046 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/4.981, allocations: 2.737 MB / 3.049 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/4.981, allocations: 4 kB / 3.049 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/4.982, allocations: 255.5 kB / 3.049 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/4.983, allocations: 83.91 kB / 3.049 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/4.983, allocations: 30.41 kB / 3.049 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/4.985, allocations: 1.559 MB / 3.051 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/4.985, allocations: 3.953 kB / 3.051 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/4.988, allocations: 1.444 MB / 3.052 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/4.989, allocations: 331 kB / 3.053 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/4.989, allocations: 17.38 kB / 3.053 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/4.99, allocations: 127.4 kB / 3.053 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/4.991, allocations: 75.58 kB / 3.053 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.949e-05/4.991, allocations: 43.34 kB / 3.053 GB, free: 129.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006609/4.991, allocations: 0.4896 MB / 3.053 GB, free: 129.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.42e-07/4.991, allocations: 0 / 3.053 GB, free: 129.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001343/4.993, allocations: 441.9 kB / 3.054 GB, free: 129.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002051/4.995, allocations: 1.091 MB / 3.055 GB, free: 128.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003305/4.998, allocations: 1.277 MB / 3.056 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/4.998, allocations: 4 kB / 3.056 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/5, allocations: 0.7862 MB / 3.057 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/5.001, allocations: 242.3 kB / 3.057 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/5.006, allocations: 2.595 MB / 3.06 GB, free: 124.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/5.007, allocations: 1.081 MB / 3.061 GB, free: 123 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001709/5.009, allocations: 339 kB / 3.061 GB, free: 122.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/5.009, allocations: 109.4 kB / 3.061 GB, free: 122.6 MB / 1.167 GB Notification: Performance of SimCode: time 6.21e-07/5.009, allocations: 0 / 3.061 GB, free: 122.6 MB / 1.167 GB Notification: Performance of Templates: time 0.03355/5.043, allocations: 23.01 MB / 3.084 GB, free: 99.75 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches