Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.384/2.384, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001065/0.001065, allocations: 185.2 kB / 0.4901 GB, free: 2.246 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.48/1.48, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001017/0.001017, allocations: 108.3 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 10.66 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.314/4.599, allocations: 1.732 GB / 2.962 GB, free: 218.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/4.599, allocations: 91.28 kB / 2.962 GB, free: 218.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.17/4.769, allocations: 80.81 MB / 3.041 GB, free: 148 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.595e-06/4.769, allocations: 0 / 3.041 GB, free: 148 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001251/4.769, allocations: 39.92 kB / 3.041 GB, free: 148 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.003357/4.772, allocations: 1.395 MB / 3.042 GB, free: 146.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/4.773, allocations: 8.031 kB / 3.042 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003835/4.773, allocations: 174.3 kB / 3.042 GB, free: 146.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/4.774, allocations: 225.7 kB / 3.042 GB, free: 146.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/4.775, allocations: 0.7138 MB / 3.043 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/4.775, allocations: 86.73 kB / 3.043 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/4.776, allocations: 109.8 kB / 3.043 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/4.778, allocations: 1.139 MB / 3.044 GB, free: 144.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/4.778, allocations: 4 kB / 3.044 GB, free: 144.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/4.778, allocations: 44.5 kB / 3.044 GB, free: 144.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/4.778, allocations: 28 kB / 3.045 GB, free: 144.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/4.78, allocations: 1.237 MB / 3.046 GB, free: 143.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005614/4.786, allocations: 3.063 MB / 3.049 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/4.787, allocations: 0.7899 MB / 3.049 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/4.787, allocations: 28.58 kB / 3.05 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007121/4.788, allocations: 444.4 kB / 3.05 GB, free: 140.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 3.496e-06/4.788, allocations: 8 kB / 3.05 GB, free: 140.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.002915/4.791, allocations: 1.162 MB / 3.051 GB, free: 139.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/4.791, allocations: 244 kB / 3.051 GB, free: 139.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/4.792, allocations: 0.6757 MB / 3.052 GB, free: 138.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/4.792, allocations: 40.7 kB / 3.052 GB, free: 138.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/4.792, allocations: 0.4933 MB / 3.052 GB, free: 138.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/4.792, allocations: 253.7 kB / 3.053 GB, free: 138 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/4.792, allocations: 14.94 kB / 3.053 GB, free: 138 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/4.793, allocations: 336.1 kB / 3.053 GB, free: 137.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/4.793, allocations: 240.6 kB / 3.053 GB, free: 137.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/4.793, allocations: 357.4 kB / 3.054 GB, free: 137.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/4.794, allocations: 292.6 kB / 3.054 GB, free: 137.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/4.794, allocations: 0 / 3.054 GB, free: 137.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001559/4.795, allocations: 0.7989 MB / 3.055 GB, free: 136.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/4.796, allocations: 8 kB / 3.055 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/4.796, allocations: 0 / 3.055 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/4.796, allocations: 84.58 kB / 3.055 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/4.797, allocations: 143.2 kB / 3.055 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/4.798, allocations: 1.543 MB / 3.056 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/4.799, allocations: 93.5 kB / 3.057 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/4.799, allocations: 31.05 kB / 3.057 GB, free: 134.6 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.0004991/4.8, allocations: 276 kB / 3.057 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/4.8, allocations: 90.92 kB / 3.057 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/4.802, allocations: 1.048 MB / 3.058 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/4.802, allocations: 8.234 kB / 3.058 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/4.802, allocations: 3.938 kB / 3.058 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/4.802, allocations: 7.969 kB / 3.058 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/4.803, allocations: 1.015 MB / 3.059 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/4.803, allocations: 0 / 3.059 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/4.804, allocations: 152.9 kB / 3.059 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/4.804, allocations: 87.77 kB / 3.059 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/4.804, allocations: 21.11 kB / 3.059 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/4.806, allocations: 1.556 MB / 3.061 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/4.806, allocations: 0 / 3.061 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/4.808, allocations: 0.8888 MB / 3.062 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/4.808, allocations: 300 kB / 3.062 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/4.808, allocations: 16.44 kB / 3.062 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/4.809, allocations: 76.45 kB / 3.062 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/4.809, allocations: 56.05 kB / 3.062 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/4.809, allocations: 37.09 kB / 3.062 GB, free: 129.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007166/4.81, allocations: 0.5385 MB / 3.063 GB, free: 129.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.81, allocations: 3.938 kB / 3.063 GB, free: 129.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001341/4.811, allocations: 408.4 kB / 3.063 GB, free: 129.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.003919/4.815, allocations: 2.41 MB / 3.065 GB, free: 127.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001422/4.816, allocations: 0.7765 MB / 3.066 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/4.816, allocations: 0 / 3.066 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007572/4.817, allocations: 0.502 MB / 3.067 GB, free: 126.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/4.818, allocations: 253.9 kB / 3.067 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008425/4.827, allocations: 5.849 MB / 3.073 GB, free: 120.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/4.827, allocations: 1.109 MB / 3.074 GB, free: 118.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008334/4.828, allocations: 274.8 kB / 3.074 GB, free: 118.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/4.828, allocations: 447.3 kB / 3.074 GB, free: 118.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.162e-06/4.828, allocations: 0 / 3.074 GB, free: 118.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07584/4.904, allocations: 31.15 MB / 3.105 GB, free: 87.42 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/4.905, allocations: 286.8 kB / 3.105 GB, free: 87.07 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.296/8.2, allocations: 0 / 3.105 GB, free: 87.07 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat