Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.205/2.205, 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.001392/0.001392, allocations: 174.5 kB / 498.1 MB, free: 5.727 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.544/1.544, allocations: 223.2 MB / 0.7948 GB, free: 17.82 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.0009047/0.0009046, allocations: 106 kB / 0.9346 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 10.86 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.501/4.813, allocations: 1.732 GB / 2.955 GB, free: 287 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/4.813, allocations: 95.94 kB / 2.955 GB, free: 286.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1683/4.982, allocations: 80.82 MB / 3.034 GB, free: 205.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.316e-06/4.982, allocations: 0 / 3.034 GB, free: 205.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001318/4.982, allocations: 32 kB / 3.034 GB, free: 205.7 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.003315/4.985, allocations: 1.398 MB / 3.035 GB, free: 204.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/4.985, allocations: 8.031 kB / 3.035 GB, free: 204.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004141/4.986, allocations: 173.3 kB / 3.035 GB, free: 204.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/4.987, allocations: 226.1 kB / 3.035 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/4.988, allocations: 0.7132 MB / 3.036 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/4.988, allocations: 86.3 kB / 3.036 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/4.988, allocations: 108 kB / 3.036 GB, free: 202.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/4.99, allocations: 1.13 MB / 3.037 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/4.99, allocations: 0 / 3.037 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/4.991, allocations: 51.94 kB / 3.037 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/4.991, allocations: 28 kB / 3.037 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/4.992, allocations: 1.242 MB / 3.039 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/4.997, allocations: 3.059 MB / 3.042 GB, free: 197.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/4.998, allocations: 0.79 MB / 3.042 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/4.998, allocations: 32.69 kB / 3.042 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006955/4.999, allocations: 448.2 kB / 3.043 GB, free: 196 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 2.965e-06/4.999, allocations: 4 kB / 3.043 GB, free: 196 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.002892/5.002, allocations: 1.163 MB / 3.044 GB, free: 194.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/5.002, allocations: 240 kB / 3.044 GB, free: 194.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/5.003, allocations: 0.6795 MB / 3.045 GB, free: 193.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/5.003, allocations: 41.7 kB / 3.045 GB, free: 193.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/5.004, allocations: 499.7 kB / 3.045 GB, free: 193.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/5.004, allocations: 264.3 kB / 3.046 GB, free: 193 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/5.004, allocations: 12 kB / 3.046 GB, free: 193 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.866e-05/5.004, allocations: 330 kB / 3.046 GB, free: 192.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/5.004, allocations: 241.9 kB / 3.046 GB, free: 192.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/5.005, allocations: 351.4 kB / 3.047 GB, free: 192.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/5.005, allocations: 298.9 kB / 3.047 GB, free: 191.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/5.005, allocations: 0 / 3.047 GB, free: 191.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001728/5.007, allocations: 0.794 MB / 3.048 GB, free: 191 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/5.007, allocations: 8 kB / 3.048 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/5.007, allocations: 0 / 3.048 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/5.008, allocations: 84.83 kB / 3.048 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/5.008, allocations: 147.9 kB / 3.048 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/5.01, allocations: 1.55 MB / 3.049 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/5.011, allocations: 91.31 kB / 3.049 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/5.011, allocations: 31.98 kB / 3.049 GB, free: 188.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0005352/5.011, allocations: 273.7 kB / 3.05 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/5.012, allocations: 90.92 kB / 3.05 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/5.014, allocations: 1.043 MB / 3.051 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/5.014, allocations: 12 kB / 3.051 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/5.014, allocations: 0 / 3.051 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/5.014, allocations: 3.984 kB / 3.051 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/5.015, allocations: 1.017 MB / 3.052 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/5.015, allocations: 0 / 3.052 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/5.016, allocations: 151.8 kB / 3.052 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/5.016, allocations: 84.77 kB / 3.052 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/5.017, allocations: 23.98 kB / 3.052 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/5.018, allocations: 1.556 MB / 3.054 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/5.018, allocations: 4.062 kB / 3.054 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/5.02, allocations: 0.8887 MB / 3.054 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/5.021, allocations: 303.5 kB / 3.055 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/5.021, allocations: 19.94 kB / 3.055 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/5.022, allocations: 75.89 kB / 3.055 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/5.022, allocations: 56.92 kB / 3.055 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/5.022, allocations: 31.97 kB / 3.055 GB, free: 183.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008952/5.023, allocations: 0.542 MB / 3.055 GB, free: 182.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/5.023, allocations: 0 / 3.055 GB, free: 182.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001357/5.024, allocations: 406.8 kB / 3.056 GB, free: 182.1 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.004067/5.028, allocations: 2.412 MB / 3.058 GB, free: 179.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001436/5.03, allocations: 0.7689 MB / 3.059 GB, free: 179.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/5.03, allocations: 7.938 kB / 3.059 GB, free: 179.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007998/5.031, allocations: 0.5079 MB / 3.059 GB, free: 178.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/5.032, allocations: 251.7 kB / 3.06 GB, free: 178.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/5.042, allocations: 5.847 MB / 3.065 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/5.043, allocations: 1.109 MB / 3.066 GB, free: 171.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009152/5.044, allocations: 270.8 kB / 3.067 GB, free: 170.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/5.044, allocations: 451.3 kB / 3.067 GB, free: 170.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/5.044, allocations: 0 / 3.067 GB, free: 170.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05956/5.104, allocations: 31.14 MB / 3.098 GB, free: 139.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/5.104, allocations: 283.6 kB / 3.098 GB, free: 139.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/8.306, allocations: 1.094 kB / 3.098 GB, free: 139.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat