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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_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.001478/0.001478, 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.001823/0.001823, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.525/2.525, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.585/4.585, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006936/0.0006936, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374/1.375, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.009612/1.384, allocations: 3.903 MB / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2973/1.682, allocations: 127.7 MB / 1.109 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.683, allocations: 15.94 kB / 1.109 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/1.685, allocations: 79.27 kB / 1.109 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003874/1.689, allocations: 0.4896 MB / 1.11 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/1.693, allocations: 0.7122 MB / 1.111 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003661/1.697, allocations: 0.9124 MB / 1.112 GB, free: 160 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/1.699, allocations: 0.5742 MB / 1.112 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/1.701, allocations: 410.4 kB / 1.113 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/1.703, allocations: 433.8 kB / 1.113 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004966/1.703, allocations: 36 kB / 1.113 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/1.706, allocations: 339.5 kB / 1.113 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008412/1.706, allocations: 223 kB / 1.113 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009237/1.707, allocations: 221 kB / 1.114 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004016/1.711, allocations: 1.337 MB / 1.115 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.711, allocations: 4 kB / 1.115 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.188e-06/1.712, allocations: 0 / 1.115 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001316/1.712, allocations: 0 / 1.115 GB, free: 12.59 MB / 0.8731 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.006954/1.719, allocations: 1.415 MB / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.26e-05/1.719, allocations: 8.031 kB / 1.116 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009159/1.72, allocations: 165 kB / 1.117 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00876/1.728, allocations: 0.8333 MB / 1.117 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/1.732, allocations: 0.7809 MB / 1.118 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/1.732, allocations: 90.19 kB / 1.118 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006645/1.733, allocations: 100 kB / 1.118 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009134/1.742, allocations: 1.44 MB / 1.12 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/1.742, allocations: 0 / 1.12 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000313/1.743, allocations: 48 kB / 1.12 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.962e-05/1.743, allocations: 32 kB / 1.12 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008721/1.751, allocations: 1.932 MB / 1.122 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/1.768, allocations: 3.308 MB / 1.125 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/1.774, allocations: 1.376 MB / 1.126 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.776, allocations: 482.5 kB / 1.127 GB, free: 228 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003987/1.78, allocations: 0.7973 MB / 1.128 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=109): time 1.027e-05/1.78, allocations: 7.938 kB / 1.128 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109): time 0.01155/1.791, allocations: 1.982 MB / 1.129 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002367/1.792, allocations: 196.9 kB / 1.13 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/1.794, allocations: 0.645 MB / 1.13 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/1.794, allocations: 49.7 kB / 1.13 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/1.795, allocations: 440.5 kB / 1.131 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007497/1.796, allocations: 350.8 kB / 1.131 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.796, allocations: 23.94 kB / 1.131 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0003851/1.796, allocations: 394.7 kB / 1.131 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/1.799, allocations: 497.7 kB / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/1.802, allocations: 0.6008 MB / 1.133 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/1.804, allocations: 0.5222 MB / 1.133 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.804, allocations: 3.938 kB / 1.133 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006976/1.811, allocations: 1.329 MB / 1.134 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/1.811, allocations: 9.562 kB / 1.134 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.811, allocations: 0 / 1.134 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/1.812, allocations: 88.89 kB / 1.134 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.815, allocations: 259.6 kB / 1.135 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/1.819, allocations: 1.541 MB / 1.136 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/1.821, allocations: 172.7 kB / 1.136 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/1.821, allocations: 43.97 kB / 1.136 GB, free: 6.023 MB / 0.8887 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.001227/1.823, allocations: 281.6 kB / 1.137 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006675/1.823, allocations: 98.73 kB / 1.137 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008177/1.832, allocations: 1.691 MB / 1.138 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/1.832, allocations: 16 kB / 1.138 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.832, allocations: 0 / 1.138 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/1.832, allocations: 3.984 kB / 1.138 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.843, allocations: 2.865 MB / 1.141 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.843, allocations: 4 kB / 1.141 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/1.845, allocations: 255.6 kB / 1.141 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/1.846, allocations: 84.77 kB / 1.142 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/1.846, allocations: 35.97 kB / 1.142 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/1.85, allocations: 1.555 MB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.85, allocations: 3.938 kB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006885/1.856, allocations: 1.539 MB / 1.145 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.858, allocations: 327.4 kB / 1.145 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/1.858, allocations: 27.95 kB / 1.145 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.86, allocations: 139.9 kB / 1.145 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/1.861, allocations: 92.81 kB / 1.145 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.861, allocations: 43.97 kB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001452/1.862, allocations: 471 kB / 1.146 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.5e-07/1.862, allocations: 0 / 1.146 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002448/1.865, allocations: 379 kB / 1.146 GB, free: 11.89 MB / 0.9044 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.009525/1.874, allocations: 2.607 MB / 1.149 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005897/1.88, allocations: 1.362 MB / 1.15 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.88, allocations: 0 / 1.15 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.883, allocations: 0.8203 MB / 1.151 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.886, allocations: 251.5 kB / 1.151 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/1.913, allocations: 7.143 MB / 1.158 GB, free: 15.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.915, allocations: 1.107 MB / 1.159 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003068/1.918, allocations: 343.7 kB / 1.159 GB, free: 14.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.919, allocations: 463.2 kB / 1.16 GB, free: 13.75 MB / 0.92 GB Notification: Performance of SimCode: time 3.176e-06/1.919, allocations: 0 / 1.16 GB, free: 13.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09333/2.013, allocations: 25.19 MB / 1.184 GB, free: 5 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003724/2.013, allocations: 297.6 kB / 1.185 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/6.132, allocations: 0 / 1.185 GB, free: 4.648 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat