Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001059/0.001058, allocations: 99.31 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.001003/0.001003, 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.328/2.328, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.242/4.242, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00057/0.0005702, allocations: 12 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273/1.274, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006025/1.28, allocations: 3.65 MB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1926/1.472, allocations: 127.5 MB / 1.109 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/1.474, allocations: 15.94 kB / 1.109 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004802/1.474, allocations: 75.28 kB / 1.109 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002303/1.476, allocations: 493.5 kB / 1.11 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/1.479, allocations: 0.6237 MB / 1.11 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00194/1.481, allocations: 0.8026 MB / 1.111 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008857/1.482, allocations: 475.2 kB / 1.111 GB, free: 292 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007793/1.482, allocations: 330.7 kB / 1.112 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/1.483, allocations: 335.6 kB / 1.112 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/1.483, allocations: 24 kB / 1.112 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/1.484, allocations: 307.6 kB / 1.112 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/1.484, allocations: 183.2 kB / 1.112 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/1.485, allocations: 189.1 kB / 1.113 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/1.486, allocations: 1.149 MB / 1.114 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.486, allocations: 0 / 1.114 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.166e-06/1.486, allocations: 0 / 1.114 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.653e-05/1.486, allocations: 8 kB / 1.114 GB, free: 13.78 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002657/1.489, allocations: 1.212 MB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/1.489, allocations: 12.03 kB / 1.115 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/1.489, allocations: 135.2 kB / 1.115 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/1.49, allocations: 190.5 kB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/1.492, allocations: 0.7147 MB / 1.116 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/1.492, allocations: 69.94 kB / 1.116 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.492, allocations: 80 kB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/1.494, allocations: 0.8989 MB / 1.117 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.494, allocations: 3.984 kB / 1.117 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/1.494, allocations: 39.94 kB / 1.117 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.494, allocations: 23.94 kB / 1.117 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/1.496, allocations: 1.104 MB / 1.118 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/1.501, allocations: 2.52 MB / 1.121 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.503, allocations: 0.8063 MB / 1.121 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-05/1.503, allocations: 32.67 kB / 1.121 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/1.504, allocations: 487.2 kB / 1.122 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 3.317e-06/1.504, allocations: 4 kB / 1.122 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003709/1.508, allocations: 1.194 MB / 1.123 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002457/1.508, allocations: 192.6 kB / 1.123 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.509, allocations: 0.6253 MB / 1.124 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.51, allocations: 41.7 kB / 1.124 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/1.51, allocations: 400.3 kB / 1.124 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/1.511, allocations: 260.3 kB / 1.125 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/1.511, allocations: 16 kB / 1.125 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0004541/1.511, allocations: 386.7 kB / 1.125 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/1.512, allocations: 241.9 kB / 1.125 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/1.512, allocations: 362.5 kB / 1.126 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/1.513, allocations: 290.9 kB / 1.126 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.513, allocations: 0 / 1.126 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002136/1.515, allocations: 0.8019 MB / 1.127 GB, free: 340 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/1.515, allocations: 4 kB / 1.127 GB, free: 336 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.515, allocations: 3.984 kB / 1.127 GB, free: 332 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/1.516, allocations: 88.8 kB / 1.127 GB, free: 240 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/1.517, allocations: 147.8 kB / 1.127 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/1.52, allocations: 1.536 MB / 1.128 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/1.521, allocations: 106.1 kB / 1.128 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/1.521, allocations: 32.05 kB / 1.128 GB, free: 14.28 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (87): * Single equations (assignments): 86 * 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.000674/1.522, allocations: 266 kB / 1.129 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/1.522, allocations: 79.06 kB / 1.129 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/1.525, allocations: 1.073 MB / 1.13 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.525, allocations: 12 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.525, allocations: 3.938 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.525, allocations: 7.984 kB / 1.13 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/1.526, allocations: 0.8879 MB / 1.131 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.526, allocations: 0 / 1.131 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009616/1.527, allocations: 147.8 kB / 1.131 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/1.528, allocations: 80.78 kB / 1.131 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/1.528, allocations: 27.97 kB / 1.131 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/1.531, allocations: 1.564 MB / 1.132 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.532, allocations: 4.062 kB / 1.132 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/1.535, allocations: 0.9201 MB / 1.133 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009982/1.536, allocations: 291.5 kB / 1.134 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/1.536, allocations: 24 kB / 1.134 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.538, allocations: 79.92 kB / 1.134 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.538, allocations: 72.84 kB / 1.134 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.538, allocations: 35.97 kB / 1.134 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001101/1.539, allocations: 455 kB / 1.134 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.91e-07/1.539, allocations: 4 kB / 1.134 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001698/1.541, allocations: 299.3 kB / 1.135 GB, free: 7.727 MB / 0.8887 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.00658/1.547, allocations: 1.967 MB / 1.136 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00368/1.551, allocations: 0.7924 MB / 1.137 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/1.551, allocations: 4 kB / 1.137 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/1.553, allocations: 0.512 MB / 1.138 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.555, allocations: 236.5 kB / 1.138 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/1.576, allocations: 5.466 MB / 1.143 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.577, allocations: 1.039 MB / 1.144 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001913/1.579, allocations: 262.5 kB / 1.145 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009436/1.58, allocations: 383.3 kB / 1.145 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.534e-06/1.58, allocations: 0 / 1.145 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09678/1.676, allocations: 20.99 MB / 1.165 GB, free: 8.562 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004951/1.677, allocations: 297.5 kB / 1.166 GB, free: 8.207 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.787/5.464, allocations: 4.969 kB / 1.166 GB, free: 8.207 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat