Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.0011/0.001099, allocations: 174.8 kB / 498.1 MB, free: 5.719 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.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0009246/0.0009246, allocations: 103.9 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 13.11 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.468/4.746, allocations: 1.735 GB / 2.958 GB, free: 248.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/4.747, allocations: 92.06 kB / 2.958 GB, free: 248.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2227/4.97, allocations: 100 MB / 3.056 GB, free: 161.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.277e-06/4.97, allocations: 4 kB / 3.056 GB, free: 161.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001665/4.97, allocations: 47.94 kB / 3.056 GB, free: 161.4 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.006099/4.976, allocations: 2.069 MB / 3.058 GB, free: 159.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/4.976, allocations: 8.031 kB / 3.058 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001066/4.977, allocations: 282.4 kB / 3.058 GB, free: 159.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/4.99, allocations: 1.888 MB / 3.06 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/4.994, allocations: 1.049 MB / 3.061 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/4.994, allocations: 148.9 kB / 3.061 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/4.995, allocations: 191.4 kB / 3.061 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/5.006, allocations: 3.063 MB / 3.064 GB, free: 154 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/5.007, allocations: 0 / 3.064 GB, free: 154 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000831/5.007, allocations: 78.88 kB / 3.064 GB, free: 154 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/5.007, allocations: 48 kB / 3.064 GB, free: 154 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/5.021, allocations: 4.168 MB / 3.069 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/5.04, allocations: 6.753 MB / 3.075 GB, free: 143.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008373/5.048, allocations: 2.708 MB / 3.078 GB, free: 140.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/5.049, allocations: 0.4996 MB / 3.078 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005235/5.054, allocations: 1.695 MB / 3.08 GB, free: 138.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=195): time 8.315e-06/5.054, allocations: 0 / 3.08 GB, free: 138.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=195): time 0.01562/5.07, allocations: 4.234 MB / 3.084 GB, free: 133.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/5.07, allocations: 257.3 kB / 3.084 GB, free: 133.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/5.072, allocations: 0.8018 MB / 3.085 GB, free: 132.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004529/5.072, allocations: 61.7 kB / 3.085 GB, free: 132.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/5.073, allocations: 0.6413 MB / 3.086 GB, free: 132 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007853/5.074, allocations: 0.6236 MB / 3.086 GB, free: 131.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/5.074, allocations: 36 kB / 3.086 GB, free: 131.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001255/5.074, allocations: 365.9 kB / 3.087 GB, free: 131 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/5.078, allocations: 1.179 MB / 3.088 GB, free: 129.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/5.082, allocations: 1.363 MB / 3.089 GB, free: 128.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/5.086, allocations: 1.216 MB / 3.09 GB, free: 127.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/5.086, allocations: 3.938 kB / 3.09 GB, free: 127.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.0101/5.096, allocations: 2.905 MB / 3.093 GB, free: 124.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/5.096, allocations: 8 kB / 3.093 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/5.096, allocations: 4.062 kB / 3.093 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/5.097, allocations: 88.77 kB / 3.093 GB, free: 124.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/5.1, allocations: 0.5695 MB / 3.094 GB, free: 123.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/5.102, allocations: 1.538 MB / 3.095 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/5.106, allocations: 342.2 kB / 3.096 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004755/5.106, allocations: 91.89 kB / 3.096 GB, free: 121.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.001607/5.108, allocations: 386.9 kB / 3.096 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006463/5.109, allocations: 146.3 kB / 3.096 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/5.12, allocations: 3.523 MB / 3.1 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/5.12, allocations: 20 kB / 3.1 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/5.12, allocations: 4 kB / 3.1 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.401e-05/5.12, allocations: 15.91 kB / 3.1 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/5.134, allocations: 5.75 MB / 3.105 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/5.134, allocations: 4 kB / 3.105 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003557/5.137, allocations: 0.5539 MB / 3.106 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/5.138, allocations: 84.78 kB / 3.106 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003846/5.138, allocations: 71.88 kB / 3.106 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/5.14, allocations: 1.559 MB / 3.108 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/5.14, allocations: 7.875 kB / 3.108 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009616/5.15, allocations: 3.067 MB / 3.111 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/5.152, allocations: 0.5491 MB / 3.111 GB, free: 105.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008105/5.152, allocations: 36 kB / 3.111 GB, free: 105.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/5.156, allocations: 263.7 kB / 3.111 GB, free: 105.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/5.156, allocations: 125.8 kB / 3.112 GB, free: 105.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000394/5.157, allocations: 91.84 kB / 3.112 GB, free: 105 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001542/5.158, allocations: 0.6736 MB / 3.112 GB, free: 104.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/5.158, allocations: 0 / 3.112 GB, free: 104.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002868/5.161, allocations: 0.6466 MB / 3.113 GB, free: 103.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 (210): * Single equations (assignments): 207 * 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.01348/5.174, allocations: 4.644 MB / 3.118 GB, free: 99.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01183/5.186, allocations: 2.968 MB / 3.12 GB, free: 96.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/5.186, allocations: 4.188 kB / 3.12 GB, free: 96.21 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.006048/5.193, allocations: 1.661 MB / 3.122 GB, free: 94.54 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/5.195, allocations: 285.1 kB / 3.122 GB, free: 94.27 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/5.226, allocations: 12.44 MB / 3.134 GB, free: 81.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/5.227, allocations: 1.369 MB / 3.136 GB, free: 80.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004141/5.231, allocations: 0.5622 MB / 3.136 GB, free: 79.54 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/5.233, allocations: 0.7608 MB / 3.137 GB, free: 78.77 MB / 1.167 GB Notification: Performance of SimCode: time 1.173e-06/5.233, allocations: 0 / 3.137 GB, free: 78.77 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08312/5.316, allocations: 47.64 MB / 3.184 GB, free: 31.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/5.316, allocations: 269.7 kB / 3.184 GB, free: 31.14 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.896/9.212, allocations: 0 / 3.184 GB, free: 31.14 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat