Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007798/0.007798, allocations: 99.09 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 196.4 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.597/2.597, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 59.91 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2862, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002891/0.2891, allocations: 2.011 MB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.2901, allocations: 0.6468 MB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.2902, allocations: 4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.2902, allocations: 19.73 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.2904, allocations: 51.5 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.2908, allocations: 155.8 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.2911, allocations: 299.1 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2912, allocations: 56.3 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2914, allocations: 111.7 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2915, allocations: 119.5 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.2916, allocations: 24 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.2916, allocations: 28 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.2917, allocations: 51.83 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2918, allocations: 115.4 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.2921, allocations: 266.9 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2921, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2921, allocations: 4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2921, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001219/0.2934, allocations: 0.6266 MB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2934, allocations: 16.02 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.2935, allocations: 46.69 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.2935, allocations: 28.73 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.2939, allocations: 272 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.294, allocations: 12.36 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.294, allocations: 20.38 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.2947, allocations: 241.2 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2947, allocations: 0 / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2947, allocations: 8 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2947, allocations: 4 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.2956, allocations: 219.8 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/0.2963, allocations: 0.5158 MB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.2973, allocations: 258.5 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.2978, allocations: 120.8 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2978, allocations: 3.938 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/0.2984, allocations: 199.1 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2984, allocations: 0 / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001387/0.2998, allocations: 383.7 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.2998, allocations: 55.41 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.3, allocations: 211 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3001, allocations: 29.7 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.3001, allocations: 136.3 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3002, allocations: 47.64 kB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.3003, allocations: 41.61 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3004, allocations: 330.8 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.3009, allocations: 120.7 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.3013, allocations: 121.2 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008496/0.3022, allocations: 269.9 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3022, allocations: 0 / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001003/0.3032, allocations: 368.7 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.3033, allocations: 59.39 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3033, allocations: 0 / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3033, allocations: 4 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.3036, allocations: 59.81 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3036, allocations: 0 / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.3039, allocations: 43.91 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3039, allocations: 7.984 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004417/0.3043, allocations: 196 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003691/0.3047, allocations: 105.8 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007285/0.3054, allocations: 260.1 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.3055, allocations: 0 / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008795/0.3063, allocations: 350.2 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.3064, allocations: 59.41 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.3064, allocations: 0 / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-06/0.3064, allocations: 4 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3066, allocations: 39.94 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.3066, allocations: 4 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.3069, allocations: 47.84 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3069, allocations: 4 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.307, allocations: 192.7 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3071, allocations: 23.8 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.3071, allocations: 21.52 kB / 1.23 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3071, allocations: 4 kB / 1.23 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3071, allocations: 0 / 1.23 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3071, allocations: 4 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3074, allocations: 273.4 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3074, allocations: 0 / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.3077, allocations: 47.94 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3077, allocations: 0 / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.3077, allocations: 11.97 kB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3077, allocations: 0 / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3077, allocations: 0 / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.3087, allocations: 312.6 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.3087, allocations: 100.9 kB / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.3088, allocations: 4 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.309, allocations: 35.94 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.3091, allocations: 27.97 kB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3091, allocations: 4 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001311/0.3093, allocations: 160.5 kB / 1.231 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3093, allocations: 0 / 1.231 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002934/0.3096, allocations: 79.88 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.3109, allocations: 0.8581 MB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.3124, allocations: 0.587 MB / 1.232 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3124, allocations: 0 / 1.232 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.3128, allocations: 131.8 kB / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.3131, allocations: 52.78 kB / 1.233 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.3174, allocations: 2.427 MB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3177, allocations: 0.7245 MB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.3178, allocations: 21.55 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3179, allocations: 63.41 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3179, allocations: 0 / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.278/3.596, allocations: 5.036 MB / 1.241 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/11.79, allocations: 9.344 kB / 1.241 GB, free: 8.891 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)