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.1-maint.9.1.x/package.mo", uses=false) 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) 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 99.55 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.001246/0.001246, 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.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.2 MB / 0.6653 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004125, allocations: 15.98 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8228, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004869/0.8277, allocations: 3.898 MB / 0.9574 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.999, allocations: 127.7 MB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.9998, allocations: 15.88 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003898/1, allocations: 83.2 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/1.002, allocations: 0.4974 MB / 1.083 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/1.004, allocations: 0.7146 MB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001518/1.005, allocations: 0.9047 MB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/1.006, allocations: 0.5743 MB / 1.085 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/1.007, allocations: 414.3 kB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/1.007, allocations: 433.8 kB / 1.086 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/1.007, allocations: 36 kB / 1.086 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008425/1.008, allocations: 339.6 kB / 1.086 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/1.009, allocations: 219 kB / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/1.009, allocations: 225.1 kB / 1.086 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/1.01, allocations: 1.333 MB / 1.088 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/1.01, allocations: 0 / 1.088 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/1.01, allocations: 0 / 1.088 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.611e-05/1.01, allocations: 0 / 1.088 GB, free: 6.488 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.003065/1.013, allocations: 1.419 MB / 1.089 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.013, allocations: 8.031 kB / 1.089 GB, free: 5 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000267/1.014, allocations: 168.9 kB / 1.089 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/1.019, allocations: 0.8255 MB / 1.09 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.021, allocations: 0.7772 MB / 1.091 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/1.021, allocations: 90.14 kB / 1.091 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/1.021, allocations: 100 kB / 1.091 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/1.025, allocations: 1.444 MB / 1.092 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.025, allocations: 11.92 kB / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/1.025, allocations: 47.94 kB / 1.093 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.025, allocations: 28 kB / 1.093 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004885/1.03, allocations: 1.932 MB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006866/1.037, allocations: 3.3 MB / 1.098 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/1.04, allocations: 1.384 MB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/1.041, allocations: 482.5 kB / 1.099 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/1.043, allocations: 0.8011 MB / 1.1 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=109): time 2.885e-06/1.043, allocations: 0 / 1.1 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=109): time 0.006333/1.049, allocations: 1.982 MB / 1.102 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.049, allocations: 192.9 kB / 1.102 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/1.05, allocations: 0.6488 MB / 1.103 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/1.051, allocations: 53.7 kB / 1.103 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/1.051, allocations: 436.6 kB / 1.103 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/1.051, allocations: 358.8 kB / 1.104 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/1.051, allocations: 20 kB / 1.104 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002612/1.052, allocations: 390.8 kB / 1.104 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/1.053, allocations: 493.7 kB / 1.105 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.055, allocations: 0.6086 MB / 1.105 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/1.056, allocations: 0.5144 MB / 1.106 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.056, allocations: 0 / 1.106 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003977/1.06, allocations: 1.336 MB / 1.107 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.06, allocations: 4.938 kB / 1.107 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.06, allocations: 0 / 1.107 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/1.061, allocations: 92.84 kB / 1.107 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.062, allocations: 259.6 kB / 1.107 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/1.065, allocations: 1.537 MB / 1.109 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.066, allocations: 171.2 kB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/1.066, allocations: 47.95 kB / 1.109 GB, free: 15.91 MB / 0.8731 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.0005953/1.067, allocations: 281.6 kB / 1.109 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.067, allocations: 90.88 kB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/1.072, allocations: 1.699 MB / 1.111 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/1.072, allocations: 12 kB / 1.111 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.072, allocations: 0 / 1.111 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.072, allocations: 11.97 kB / 1.111 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/1.079, allocations: 2.859 MB / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.079, allocations: 0 / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.08, allocations: 259.6 kB / 1.114 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/1.081, allocations: 88.77 kB / 1.114 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.081, allocations: 31.97 kB / 1.114 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/1.083, allocations: 1.559 MB / 1.116 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.083, allocations: 0 / 1.116 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/1.087, allocations: 1.535 MB / 1.117 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/1.088, allocations: 335.3 kB / 1.118 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/1.088, allocations: 24 kB / 1.118 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.089, allocations: 142.7 kB / 1.118 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.09, allocations: 88.88 kB / 1.118 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.09, allocations: 47.92 kB / 1.118 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007044/1.09, allocations: 471 kB / 1.118 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.09, allocations: 0 / 1.118 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001112/1.091, allocations: 379.1 kB / 1.119 GB, free: 5.785 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.00563/1.097, allocations: 2.609 MB / 1.121 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003683/1.101, allocations: 1.358 MB / 1.123 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.101, allocations: 8 kB / 1.123 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/1.103, allocations: 0.8125 MB / 1.123 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/1.104, allocations: 245.5 kB / 1.124 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.119, allocations: 7.141 MB / 1.131 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/1.12, allocations: 1.105 MB / 1.132 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001531/1.121, allocations: 351.6 kB / 1.132 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/1.122, allocations: 451.2 kB / 1.132 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of SimCode: time 1.192e-06/1.122, allocations: 0 / 1.132 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/1.174, allocations: 25.2 MB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/1.174, allocations: 303.2 kB / 1.157 GB, free: 14.56 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.767, allocations: 0 / 1.157 GB, free: 14.56 MB / 0.92 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat