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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.496/2.496, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001328/0.001328, allocations: 187.7 kB / 0.4902 GB, free: 2.289 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.626/1.626, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009567/0.000957, allocations: 100.8 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 14.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3416, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.502/4.843, allocations: 1.734 GB / 2.963 GB, free: 253.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/4.844, allocations: 93.08 kB / 2.963 GB, free: 253.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1522/4.996, allocations: 70.06 MB / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.828e-06/4.996, allocations: 3.938 kB / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001212/4.996, allocations: 31.94 kB / 3.031 GB, free: 182.9 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.003781/5, allocations: 1.368 MB / 3.033 GB, free: 181.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/5, allocations: 8.031 kB / 3.033 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/5.005, allocations: 0.6852 MB / 3.033 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/5.007, allocations: 0.6814 MB / 3.034 GB, free: 180 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/5.007, allocations: 74.09 kB / 3.034 GB, free: 179.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/5.007, allocations: 100 kB / 3.034 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/5.01, allocations: 1.383 MB / 3.036 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/5.01, allocations: 0 / 3.036 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/5.01, allocations: 51.98 kB / 3.036 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/5.01, allocations: 24 kB / 3.036 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004223/5.015, allocations: 1.893 MB / 3.038 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005782/5.02, allocations: 3.138 MB / 3.041 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/5.023, allocations: 1.304 MB / 3.042 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/5.024, allocations: 474.4 kB / 3.042 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/5.025, allocations: 0.7309 MB / 3.043 GB, free: 170.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 3.156e-06/5.025, allocations: 0 / 3.043 GB, free: 170.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.005649/5.031, allocations: 1.873 MB / 3.045 GB, free: 168.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/5.031, allocations: 240.3 kB / 3.045 GB, free: 168.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/5.032, allocations: 0.605 MB / 3.046 GB, free: 167.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/5.032, allocations: 45.7 kB / 3.046 GB, free: 167.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/5.033, allocations: 416.4 kB / 3.046 GB, free: 167.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/5.033, allocations: 331.1 kB / 3.046 GB, free: 167 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/5.033, allocations: 16 kB / 3.046 GB, free: 166.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001157/5.033, allocations: 390.8 kB / 3.047 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/5.034, allocations: 461.7 kB / 3.047 GB, free: 166.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/5.035, allocations: 0.5821 MB / 3.048 GB, free: 165.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/5.037, allocations: 498.8 kB / 3.048 GB, free: 165 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/5.037, allocations: 0 / 3.048 GB, free: 165 MB / 1.167 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003261/5.04, allocations: 1.259 MB / 3.05 GB, free: 163.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/5.04, allocations: 6.031 kB / 3.05 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/5.04, allocations: 4 kB / 3.05 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/5.041, allocations: 84.86 kB / 3.05 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/5.042, allocations: 247.6 kB / 3.05 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/5.044, allocations: 1.54 MB / 3.051 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/5.045, allocations: 159.1 kB / 3.052 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/5.045, allocations: 39.91 kB / 3.052 GB, free: 161.5 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.0005849/5.046, allocations: 273.6 kB / 3.052 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/5.046, allocations: 86.97 kB / 3.052 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/5.05, allocations: 1.601 MB / 3.054 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/5.05, allocations: 12 kB / 3.054 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/5.05, allocations: 0 / 3.054 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/5.05, allocations: 7.938 kB / 3.054 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/5.055, allocations: 2.736 MB / 3.056 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/5.055, allocations: 4 kB / 3.056 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/5.056, allocations: 247.7 kB / 3.056 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/5.057, allocations: 84.77 kB / 3.057 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/5.057, allocations: 39.91 kB / 3.057 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/5.058, allocations: 1.563 MB / 3.058 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/5.058, allocations: 3.953 kB / 3.058 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/5.062, allocations: 1.449 MB / 3.06 GB, free: 153.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/5.062, allocations: 327.5 kB / 3.06 GB, free: 152.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/5.062, allocations: 23.98 kB / 3.06 GB, free: 152.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/5.064, allocations: 127.9 kB / 3.06 GB, free: 152.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/5.064, allocations: 72.89 kB / 3.06 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/5.064, allocations: 39.97 kB / 3.06 GB, free: 152.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006456/5.064, allocations: 495 kB / 3.061 GB, free: 152.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.064, allocations: 0 / 3.061 GB, free: 152.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00147/5.066, allocations: 447 kB / 3.061 GB, free: 151.7 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.002083/5.068, allocations: 1.091 MB / 3.062 GB, free: 150.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003259/5.071, allocations: 1.28 MB / 3.063 GB, free: 149.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/5.071, allocations: 4 kB / 3.063 GB, free: 149.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/5.073, allocations: 0.7851 MB / 3.064 GB, free: 148.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/5.074, allocations: 244.6 kB / 3.064 GB, free: 148.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/5.08, allocations: 2.586 MB / 3.067 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/5.08, allocations: 1.083 MB / 3.068 GB, free: 144.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001603/5.082, allocations: 335.1 kB / 3.068 GB, free: 144.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/5.082, allocations: 115.4 kB / 3.068 GB, free: 144.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/5.082, allocations: 0 / 3.068 GB, free: 144.2 MB / 1.167 GB Notification: Performance of Templates: time 0.03323/5.115, allocations: 23 MB / 3.091 GB, free: 121.4 MB / 1.167 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