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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.000998/0.0009981, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005465/0.005465, allocations: 170.7 kB / 16.27 MB, free: 6.656 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 8.219 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002342/0.3127, allocations: 1.713 MB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3139, allocations: 0.6391 MB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.3141, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.301e-05/0.3142, allocations: 15.8 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.3144, allocations: 39.66 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.3149, allocations: 146.5 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.3153, allocations: 259.3 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3155, allocations: 56.23 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3157, allocations: 103.6 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3159, allocations: 95.53 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.3159, allocations: 8 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.673e-05/0.316, allocations: 12 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.316, allocations: 39.81 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3161, allocations: 113.2 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3164, allocations: 239.3 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3164, allocations: 4 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3164, allocations: 0 / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3164, allocations: 0 / 1.062 GB, free: 1.441 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.001336/0.3178, allocations: 0.6191 MB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.3178, allocations: 12.03 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.057e-05/0.3179, allocations: 50.73 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.318, allocations: 20.75 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.3185, allocations: 271.7 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3185, allocations: 12.36 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.3185, allocations: 12.38 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.3193, allocations: 268.2 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3193, allocations: 7.984 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.3193, allocations: 4 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3193, allocations: 4 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009538/0.3203, allocations: 272.2 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008188/0.3211, allocations: 0.5158 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.3222, allocations: 314.5 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.3227, allocations: 152.7 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.3228, allocations: 3.938 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00066/0.3234, allocations: 211.1 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.3235, allocations: 8 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.001514/0.325, allocations: 455.5 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.325, allocations: 59.34 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3252, allocations: 211 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3253, allocations: 29.7 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.3254, allocations: 128.2 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.3254, allocations: 51.44 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3255, allocations: 21.7 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3256, allocations: 334.8 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.3261, allocations: 139.9 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.3265, allocations: 138.8 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009234/0.3275, allocations: 317.4 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3275, allocations: 4 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001075/0.3286, allocations: 424.4 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/0.3287, allocations: 150.7 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3287, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3287, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.329, allocations: 63.94 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.329, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3294, allocations: 59.8 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3294, allocations: 11.98 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-06/0.3294, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000935/0.3304, allocations: 367.1 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3304, allocations: 3.938 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.3304, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.3306, allocations: 55.95 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.3306, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3309, allocations: 59.8 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.331, allocations: 7.984 kB / 1.068 GB, free: 11.38 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.0001569/0.3311, allocations: 210.3 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3312, allocations: 19.75 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.3312, allocations: 25.52 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3312, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3312, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3313, allocations: 4 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.3315, allocations: 273.3 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3315, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.3318, allocations: 55.94 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.3318, allocations: 3.938 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3318, allocations: 8 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3318, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3318, allocations: 4 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.3328, allocations: 356.6 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.3329, allocations: 104.8 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.333, allocations: 7.984 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.3332, allocations: 47.95 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.3333, allocations: 27.95 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3334, allocations: 8 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001258/0.3335, allocations: 152.6 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3335, allocations: 4 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003276/0.3338, allocations: 71.84 kB / 1.069 GB, free: 9.926 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.001318/0.3352, allocations: 0.8955 MB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.3367, allocations: 0.6711 MB / 1.071 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3368, allocations: 0 / 1.071 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.3373, allocations: 155.8 kB / 1.071 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.3376, allocations: 32.72 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.3421, allocations: 2.596 MB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3424, allocations: 0.7326 MB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.3425, allocations: 25.53 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3427, allocations: 55.42 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3427, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0935/0.4362, allocations: 4.459 MB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.4364, allocations: 237.9 kB / 1.079 GB, free: 88 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.444, allocations: 1.875 kB / 1.079 GB, free: 88 kB / 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)