Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.223/2.223, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001328/0.001327, allocations: 199.5 kB / 0.4902 GB, free: 2.195 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.531/1.531, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009466/0.0009468, allocations: 94.33 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 7.562 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3212, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.233/4.554, allocations: 1.736 GB / 2.965 GB, free: 214.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/4.554, allocations: 88.08 kB / 2.965 GB, free: 214 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2157/4.77, allocations: 100 MB / 3.063 GB, free: 126.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.479e-06/4.77, allocations: 0 / 3.063 GB, free: 126.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001711/4.77, allocations: 44 kB / 3.063 GB, free: 126.6 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.006251/4.776, allocations: 2.067 MB / 3.065 GB, free: 124.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/4.777, allocations: 12.56 kB / 3.065 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000886/4.777, allocations: 280 kB / 3.065 GB, free: 124.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/4.79, allocations: 1.889 MB / 3.067 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/4.794, allocations: 1.055 MB / 3.068 GB, free: 121.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/4.794, allocations: 146.2 kB / 3.068 GB, free: 121.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008769/4.795, allocations: 191.1 kB / 3.068 GB, free: 121.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007671/4.802, allocations: 3.065 MB / 3.071 GB, free: 119.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/4.803, allocations: 4 kB / 3.071 GB, free: 119.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/4.803, allocations: 83.81 kB / 3.072 GB, free: 119.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/4.803, allocations: 48 kB / 3.072 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/4.815, allocations: 4.167 MB / 3.076 GB, free: 116 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/4.833, allocations: 6.752 MB / 3.082 GB, free: 109.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008044/4.841, allocations: 2.704 MB / 3.085 GB, free: 107.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007297/4.842, allocations: 0.4957 MB / 3.085 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004615/4.846, allocations: 1.703 MB / 3.087 GB, free: 104.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=195): time 5.661e-06/4.846, allocations: 0 / 3.087 GB, free: 104.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=195): time 0.01385/4.86, allocations: 4.23 MB / 3.091 GB, free: 100.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/4.86, allocations: 253.3 kB / 3.091 GB, free: 100.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/4.862, allocations: 0.8056 MB / 3.092 GB, free: 99.48 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002986/4.862, allocations: 57.7 kB / 3.092 GB, free: 99.42 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/4.863, allocations: 0.6374 MB / 3.093 GB, free: 98.77 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/4.863, allocations: 0.6353 MB / 3.094 GB, free: 98.13 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/4.863, allocations: 32 kB / 3.094 GB, free: 98.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001052/4.864, allocations: 369.9 kB / 3.094 GB, free: 97.73 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003695/4.867, allocations: 1.171 MB / 3.095 GB, free: 96.56 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/4.871, allocations: 1.36 MB / 3.096 GB, free: 95.16 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/4.875, allocations: 1.216 MB / 3.098 GB, free: 93.95 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/4.875, allocations: 8 kB / 3.098 GB, free: 93.94 MB / 1.167 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00891/4.884, allocations: 2.913 MB / 3.1 GB, free: 91.01 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/4.884, allocations: 4 kB / 3.1 GB, free: 91.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/4.884, allocations: 8 kB / 3.1 GB, free: 91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/4.885, allocations: 84.83 kB / 3.1 GB, free: 90.91 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/4.888, allocations: 0.5694 MB / 3.101 GB, free: 90.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/4.89, allocations: 1.545 MB / 3.103 GB, free: 88.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/4.893, allocations: 342.2 kB / 3.103 GB, free: 88.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/4.894, allocations: 87.89 kB / 3.103 GB, free: 88.23 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.001299/4.895, allocations: 390.2 kB / 3.103 GB, free: 87.84 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005064/4.895, allocations: 138.4 kB / 3.103 GB, free: 87.71 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/4.906, allocations: 3.534 MB / 3.107 GB, free: 84.15 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/4.907, allocations: 20 kB / 3.107 GB, free: 84.13 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/4.907, allocations: 3.938 kB / 3.107 GB, free: 84.13 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/4.907, allocations: 11.92 kB / 3.107 GB, free: 84.12 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/4.92, allocations: 5.75 MB / 3.113 GB, free: 78.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/4.92, allocations: 0 / 3.113 GB, free: 78.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003422/4.923, allocations: 0.55 MB / 3.113 GB, free: 77.75 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/4.924, allocations: 88.77 kB / 3.113 GB, free: 77.66 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/4.924, allocations: 71.88 kB / 3.113 GB, free: 77.59 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/4.926, allocations: 1.563 MB / 3.115 GB, free: 75.89 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/4.926, allocations: 288 / 3.115 GB, free: 75.89 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009285/4.935, allocations: 3.066 MB / 3.118 GB, free: 72.81 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/4.937, allocations: 0.549 MB / 3.118 GB, free: 72.24 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/4.937, allocations: 39.98 kB / 3.118 GB, free: 72.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002874/4.94, allocations: 267.7 kB / 3.119 GB, free: 71.94 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/4.94, allocations: 125.8 kB / 3.119 GB, free: 71.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/4.941, allocations: 79.92 kB / 3.119 GB, free: 71.74 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001148/4.942, allocations: 0.6735 MB / 3.119 GB, free: 71.05 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/4.942, allocations: 0 / 3.119 GB, free: 71.05 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002366/4.944, allocations: 0.6544 MB / 3.12 GB, free: 70.4 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.01129/4.955, allocations: 4.635 MB / 3.125 GB, free: 65.92 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009135/4.965, allocations: 2.967 MB / 3.128 GB, free: 62.95 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/4.965, allocations: 0 / 3.128 GB, free: 62.95 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005964/4.971, allocations: 1.665 MB / 3.129 GB, free: 61.27 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/4.973, allocations: 290 kB / 3.129 GB, free: 60.99 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04885/5.022, allocations: 12.45 MB / 3.142 GB, free: 48.23 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/5.023, allocations: 1.37 MB / 3.143 GB, free: 46.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007332/5.031, allocations: 0.5545 MB / 3.143 GB, free: 46.27 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003114/5.034, allocations: 0.7608 MB / 3.144 GB, free: 45.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.743e-06/5.034, allocations: 4 kB / 3.144 GB, free: 45.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6807/5.715, allocations: 47.64 MB / 3.191 GB, free: 379.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/5.715, allocations: 276.2 kB / 3.191 GB, free: 378.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.833/9.548, allocations: 2.875 kB / 3.191 GB, free: 378.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat