Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.229/2.229, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001291/0.001291, allocations: 183.3 kB / 498.1 MB, free: 5.773 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.704/1.704, allocations: 223.1 MB / 0.7948 GB, free: 17.96 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.001006/0.001006, allocations: 104.2 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 9.219 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.339/4.668, allocations: 1.731 GB / 2.954 GB, free: 288.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/4.668, allocations: 99.94 kB / 2.954 GB, free: 288.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/4.795, allocations: 59.08 MB / 3.012 GB, free: 228.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.908e-06/4.795, allocations: 0 / 3.012 GB, free: 228.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001025/4.795, allocations: 16 kB / 3.012 GB, free: 228.8 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002714/4.798, allocations: 1.185 MB / 3.013 GB, free: 227.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/4.798, allocations: 8.031 kB / 3.013 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/4.798, allocations: 126.9 kB / 3.013 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/4.799, allocations: 182.6 kB / 3.013 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/4.8, allocations: 0.6114 MB / 3.014 GB, free: 226.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/4.8, allocations: 66 kB / 3.014 GB, free: 226.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/4.801, allocations: 72 kB / 3.014 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/4.802, allocations: 0.8481 MB / 3.015 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/4.802, allocations: 7.953 kB / 3.015 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/4.802, allocations: 32 kB / 3.015 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/4.802, allocations: 16 kB / 3.015 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/4.804, allocations: 1.069 MB / 3.016 GB, free: 224.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/4.807, allocations: 2.379 MB / 3.018 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/4.809, allocations: 0.7229 MB / 3.019 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.906e-05/4.809, allocations: 24.53 kB / 3.019 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006581/4.809, allocations: 427.1 kB / 3.019 GB, free: 220.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 3.737e-06/4.809, allocations: 0 / 3.019 GB, free: 220.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.002775/4.812, allocations: 1.089 MB / 3.02 GB, free: 219.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/4.812, allocations: 240 kB / 3.021 GB, free: 219.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/4.813, allocations: 0.5893 MB / 3.021 GB, free: 218.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/4.813, allocations: 37.7 kB / 3.021 GB, free: 218.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/4.813, allocations: 372.2 kB / 3.022 GB, free: 218.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/4.814, allocations: 232.6 kB / 3.022 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/4.814, allocations: 12 kB / 3.022 GB, free: 218.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000106/4.814, allocations: 382.8 kB / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/4.814, allocations: 217.2 kB / 3.022 GB, free: 217.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/4.815, allocations: 315.7 kB / 3.023 GB, free: 217.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/4.815, allocations: 267.1 kB / 3.023 GB, free: 217 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/4.815, allocations: 0 / 3.023 GB, free: 217 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001575/4.817, allocations: 0.7159 MB / 3.024 GB, free: 216.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/4.817, allocations: 11.94 kB / 3.024 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/4.817, allocations: 4.062 kB / 3.024 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/4.817, allocations: 80.77 kB / 3.024 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/4.818, allocations: 135.8 kB / 3.024 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/4.82, allocations: 1.533 MB / 3.025 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006815/4.82, allocations: 75.56 kB / 3.025 GB, free: 214.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/4.82, allocations: 23.98 kB / 3.025 GB, free: 214.3 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 (74): * Single equations (assignments): 73 * 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.0005077/4.821, allocations: 253.6 kB / 3.026 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/4.821, allocations: 75.06 kB / 3.026 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/4.823, allocations: 0.9939 MB / 3.027 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/4.823, allocations: 8 kB / 3.027 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/4.823, allocations: 0 / 3.027 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/4.823, allocations: 7.938 kB / 3.027 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/4.824, allocations: 0.8489 MB / 3.028 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/4.824, allocations: 4 kB / 3.028 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/4.825, allocations: 139.8 kB / 3.028 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005541/4.826, allocations: 80.78 kB / 3.028 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/4.826, allocations: 19.98 kB / 3.028 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/4.827, allocations: 1.563 MB / 3.029 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/4.827, allocations: 3.953 kB / 3.029 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/4.829, allocations: 0.8226 MB / 3.03 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/4.829, allocations: 283.7 kB / 3.03 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/4.83, allocations: 27.89 kB / 3.03 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/4.83, allocations: 63.94 kB / 3.03 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/4.83, allocations: 60.92 kB / 3.03 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/4.83, allocations: 31.97 kB / 3.031 GB, free: 208.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005924/4.831, allocations: 483 kB / 3.031 GB, free: 208.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.31e-07/4.831, allocations: 0 / 3.031 GB, free: 208.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001135/4.832, allocations: 347.2 kB / 3.031 GB, free: 207.9 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 (82): * Single equations (assignments): 79 * 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.003866/4.836, allocations: 2.365 MB / 3.034 GB, free: 205.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00145/4.837, allocations: 0.7121 MB / 3.034 GB, free: 205 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/4.837, allocations: 0 / 3.034 GB, free: 205 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/4.838, allocations: 480.4 kB / 3.035 GB, free: 204.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/4.839, allocations: 240.5 kB / 3.035 GB, free: 204.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008748/4.848, allocations: 4.943 MB / 3.04 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/4.849, allocations: 1.019 MB / 3.041 GB, free: 198.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009597/4.85, allocations: 261.8 kB / 3.041 GB, free: 198 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/4.85, allocations: 335.3 kB / 3.041 GB, free: 197.6 MB / 1.167 GB Notification: Performance of SimCode: time 9.788e-06/4.85, allocations: 0 / 3.041 GB, free: 197.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/4.906, allocations: 28.95 MB / 3.07 GB, free: 169.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/4.906, allocations: 282.6 kB / 3.07 GB, free: 168.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/8.102, allocations: 0 / 3.07 GB, free: 168.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat