Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_latest_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.001264/0.001264, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 63.17 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00331/0.3064, allocations: 1.997 MB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3075, allocations: 0.6705 MB / 1.056 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.3077, allocations: 4 kB / 1.056 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.289e-05/0.3078, allocations: 19.73 kB / 1.056 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.308, allocations: 47.58 kB / 1.056 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.3085, allocations: 162.8 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.3088, allocations: 287.2 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.309, allocations: 64.28 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3092, allocations: 107.6 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.3094, allocations: 119.6 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.3095, allocations: 27.94 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.3095, allocations: 32 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.3096, allocations: 51.81 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3097, allocations: 111.4 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.31, allocations: 259.4 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.31, allocations: 0 / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.31, allocations: 0 / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.31, allocations: 0 / 1.057 GB, free: 4.352 MB / 0.8106 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.001264/0.3113, allocations: 0.6267 MB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3113, allocations: 8.625 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.3114, allocations: 46.73 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.3115, allocations: 24.66 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.3119, allocations: 267.8 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3119, allocations: 8.375 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.3119, allocations: 16.38 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.3126, allocations: 236.7 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.3126, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.3126, allocations: 12 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3126, allocations: 4 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/0.3135, allocations: 224.5 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.3143, allocations: 0.5234 MB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3153, allocations: 266.5 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.3158, allocations: 116.8 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3158, allocations: 3.938 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006337/0.3165, allocations: 195.1 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.3165, allocations: 0 / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.001441/0.3179, allocations: 383.4 kB / 1.06 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.318, allocations: 59.39 kB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3182, allocations: 203.1 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3182, allocations: 37.69 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.3183, allocations: 128.3 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.3183, allocations: 51.28 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.3184, allocations: 37.7 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.3185, allocations: 330.8 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.319, allocations: 120.8 kB / 1.061 GB, free: 232 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.3194, allocations: 115.9 kB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008736/0.3203, allocations: 271.1 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3203, allocations: 4 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001015/0.3213, allocations: 364.5 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.3214, allocations: 67.39 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3214, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3214, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.3217, allocations: 59.81 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3217, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.3221, allocations: 43.88 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3221, allocations: 12 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004517/0.3225, allocations: 201.6 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003794/0.3229, allocations: 99.89 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007361/0.3237, allocations: 258 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.3237, allocations: 0 / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008846/0.3246, allocations: 351.6 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.3246, allocations: 59.41 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.3246, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-06/0.3246, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.3249, allocations: 51.94 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.3249, allocations: 0 / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.3252, allocations: 43.8 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3252, allocations: 4 kB / 1.062 GB, free: 14.18 MB / 0.8262 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.0001135/0.3253, allocations: 192.2 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.3254, allocations: 27.73 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.3254, allocations: 21.53 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3254, allocations: 0 / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3254, allocations: 0 / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3254, allocations: 7.984 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3257, allocations: 273.3 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3257, allocations: 3.984 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.326, allocations: 39.95 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.326, allocations: 4 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.326, allocations: 7.984 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.326, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.326, allocations: 4 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.3269, allocations: 308.5 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.327, allocations: 92.92 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.3271, allocations: 4 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.3273, allocations: 43.94 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.3274, allocations: 23.97 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3275, allocations: 4 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001232/0.3276, allocations: 160.4 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3276, allocations: 0 / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003228/0.3279, allocations: 71.84 kB / 1.064 GB, free: 12.82 MB / 0.8262 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.001221/0.3291, allocations: 0.8561 MB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.3306, allocations: 0.5987 MB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3307, allocations: 4 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.3311, allocations: 123.8 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3314, allocations: 45.53 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.3356, allocations: 2.416 MB / 1.068 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3359, allocations: 0.7284 MB / 1.068 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.336, allocations: 29.53 kB / 1.068 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3362, allocations: 59.41 kB / 1.068 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3362, allocations: 0 / 1.068 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6939/1.03, allocations: 4.986 MB / 1.073 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.797, allocations: 4.5 kB / 1.073 GB, free: 2.957 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)