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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 99.86 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.001418/0.001418, 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.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003433, allocations: 12 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6306, allocations: 142.3 MB / 0.9535 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004279/0.6349, allocations: 3.905 MB / 0.9573 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1418/0.7768, allocations: 127.7 MB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.7776, allocations: 19.88 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.778, allocations: 83.2 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.7795, allocations: 0.5016 MB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.7812, allocations: 0.7119 MB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.7826, allocations: 0.9047 MB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008118/0.7834, allocations: 0.5704 MB / 1.085 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006119/0.784, allocations: 414.3 kB / 1.085 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007317/0.7848, allocations: 437.8 kB / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.7849, allocations: 32 kB / 1.086 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.7859, allocations: 339.5 kB / 1.086 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.7862, allocations: 223.1 kB / 1.086 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.7864, allocations: 217.1 kB / 1.086 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.7879, allocations: 1.344 MB / 1.088 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.7879, allocations: 0 / 1.088 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7879, allocations: 0 / 1.088 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.7879, allocations: 0 / 1.088 GB, free: 6.527 MB / 0.8419 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.003023/0.791, allocations: 1.411 MB / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.791, allocations: 11.97 kB / 1.089 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/0.7962, allocations: 0.8255 MB / 1.09 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.7976, allocations: 0.7811 MB / 1.091 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.7976, allocations: 82.2 kB / 1.091 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.7978, allocations: 104 kB / 1.091 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.8011, allocations: 1.447 MB / 1.092 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.8011, allocations: 4 kB / 1.092 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.8012, allocations: 44 kB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.8013, allocations: 28 kB / 1.092 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/0.8059, allocations: 1.932 MB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006265/0.8121, allocations: 3.301 MB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.8155, allocations: 1.386 MB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006194/0.8161, allocations: 478.5 kB / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.818, allocations: 0.805 MB / 1.1 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=109): time 2.936e-06/0.818, allocations: 0 / 1.1 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=109): time 0.005985/0.824, allocations: 1.982 MB / 1.102 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.8241, allocations: 192.9 kB / 1.102 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/0.8249, allocations: 0.6488 MB / 1.103 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.825, allocations: 49.7 kB / 1.103 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.8254, allocations: 448.5 kB / 1.103 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.8257, allocations: 346.9 kB / 1.104 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.8257, allocations: 20 kB / 1.104 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8259, allocations: 398.7 kB / 1.104 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.8274, allocations: 489.7 kB / 1.104 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.8289, allocations: 0.6125 MB / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.8304, allocations: 0.5183 MB / 1.106 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8304, allocations: 0 / 1.106 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003831/0.8342, allocations: 1.333 MB / 1.107 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.8343, allocations: 5.719 kB / 1.107 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8343, allocations: 0 / 1.107 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/0.8349, allocations: 88.84 kB / 1.107 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.8363, allocations: 263.6 kB / 1.107 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.8384, allocations: 1.54 MB / 1.109 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.8397, allocations: 167.2 kB / 1.109 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.8399, allocations: 47.95 kB / 1.109 GB, free: 132 kB / 0.8575 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.0005627/0.8404, allocations: 287.9 kB / 1.109 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.8406, allocations: 90.88 kB / 1.109 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004592/0.8452, allocations: 1.699 MB / 1.111 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8453, allocations: 12 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8453, allocations: 0 / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.8453, allocations: 7.984 kB / 1.111 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/0.8515, allocations: 2.859 MB / 1.114 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8515, allocations: 0 / 1.114 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.8529, allocations: 259.6 kB / 1.114 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005098/0.8534, allocations: 84.78 kB / 1.114 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.8535, allocations: 31.97 kB / 1.114 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.8553, allocations: 1.559 MB / 1.116 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8553, allocations: 0 / 1.116 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.8595, allocations: 1.535 MB / 1.117 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006102/0.8601, allocations: 339.6 kB / 1.117 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.8603, allocations: 20 kB / 1.117 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.8616, allocations: 146 kB / 1.118 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.8618, allocations: 92.86 kB / 1.118 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.8619, allocations: 43.97 kB / 1.118 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006217/0.8625, allocations: 478.9 kB / 1.118 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8625, allocations: 0 / 1.118 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001154/0.8637, allocations: 379.1 kB / 1.119 GB, free: 5.996 MB / 0.8731 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.001469/0.8652, allocations: 0.6262 MB / 1.119 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00369/0.8689, allocations: 1.362 MB / 1.12 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.8689, allocations: 0 / 1.12 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.8708, allocations: 0.8203 MB / 1.121 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.872, allocations: 250.5 kB / 1.122 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.8775, allocations: 2.704 MB / 1.124 GB, free: 376 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/0.8783, allocations: 1.108 MB / 1.125 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001696/0.88, allocations: 343.7 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.8805, allocations: 127.3 kB / 1.126 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of SimCode: time 9.22e-07/0.8805, allocations: 4 kB / 1.126 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of Templates: time 0.02766/0.9082, allocations: 16.84 MB / 1.142 GB, free: 14.12 MB / 0.9044 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