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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001229/0.001229, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001449/0.001449, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.794/2.794, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8917, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002859/0.8946, allocations: 1.629 MB / 0.9825 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.8961, allocations: 0.6044 MB / 0.9831 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.8963, allocations: 7.938 kB / 0.9831 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.8964, allocations: 11.86 kB / 0.9831 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.8966, allocations: 43.84 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.897, allocations: 118.8 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.8973, allocations: 159.7 kB / 0.9834 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.8974, allocations: 60.42 kB / 0.9834 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.8976, allocations: 79.75 kB / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.8977, allocations: 103.6 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.8978, allocations: 8 kB / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.219e-05/0.8978, allocations: 12 kB / 0.9836 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.8979, allocations: 35.81 kB / 0.9837 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.898, allocations: 61.58 kB / 0.9837 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.8982, allocations: 181.8 kB / 0.9839 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.8982, allocations: 0 / 0.9839 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8982, allocations: 0 / 0.9839 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8982, allocations: 4 kB / 0.9839 GB, free: 3.168 MB / 0.7325 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.001609/0.8998, allocations: 0.6267 MB / 0.9845 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.8999, allocations: 16.02 kB / 0.9845 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.9, allocations: 42.56 kB / 0.9846 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.9001, allocations: 23.72 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.9006, allocations: 266.3 kB / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.9007, allocations: 8 kB / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.9007, allocations: 12 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.9017, allocations: 268 kB / 0.9851 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.9017, allocations: 0 / 0.9851 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.9017, allocations: 8 kB / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9018, allocations: 0 / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.9031, allocations: 279.7 kB / 0.9854 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.9043, allocations: 0.5196 MB / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.9058, allocations: 318.5 kB / 0.9862 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.9059, allocations: 0 / 0.9862 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008921/0.9068, allocations: 211.2 kB / 0.9864 GB, free: 412 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.305e-06/0.9068, allocations: 0 / 0.9864 GB, free: 412 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.002149/0.909, allocations: 467.5 kB / 0.9869 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.909, allocations: 55.41 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.9094, allocations: 203.2 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.9094, allocations: 29.7 kB / 0.9871 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.9096, allocations: 132.2 kB / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.9096, allocations: 39.45 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.9097, allocations: 0 / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.9099, allocations: 334.8 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/0.9105, allocations: 139.9 kB / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.9111, allocations: 135.9 kB / 0.9879 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.9118, allocations: 179.3 kB / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9118, allocations: 0 / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001533/0.9133, allocations: 422.6 kB / 0.9884 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.9135, allocations: 145.2 kB / 0.9886 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9135, allocations: 0 / 0.9886 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.9135, allocations: 3.953 kB / 0.9886 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.914, allocations: 67.94 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.914, allocations: 3.984 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.9144, allocations: 67.78 kB / 0.9887 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.9145, allocations: 4 kB / 0.9887 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.9145, allocations: 4 kB / 0.9887 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/0.9158, allocations: 364.7 kB / 0.9891 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9159, allocations: 3.953 kB / 0.9891 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/0.9159, allocations: 0 / 0.9891 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.9162, allocations: 59.94 kB / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.9162, allocations: 0 / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.9166, allocations: 55.8 kB / 0.9892 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.9166, allocations: 4 kB / 0.9892 GB, free: 13.44 MB / 0.7481 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 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.9169, allocations: 215.5 kB / 0.9894 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.917, allocations: 19.8 kB / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.9171, allocations: 33.41 kB / 0.9895 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9171, allocations: 4 kB / 0.9895 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.9171, allocations: 0 / 0.9895 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9171, allocations: 3.938 kB / 0.9895 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.9175, allocations: 269.4 kB / 0.9897 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.9175, allocations: 4 kB / 0.9897 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.9179, allocations: 59.94 kB / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.9179, allocations: 0 / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.918, allocations: 3.984 kB / 0.9898 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.918, allocations: 3.953 kB / 0.9898 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.918, allocations: 4 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.9194, allocations: 352.6 kB / 0.9901 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.9196, allocations: 100.8 kB / 0.9902 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.9196, allocations: 4 kB / 0.9902 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.92, allocations: 55.94 kB / 0.9903 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.9202, allocations: 31.91 kB / 0.9903 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.9202, allocations: 8 kB / 0.9903 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001994/0.9204, allocations: 151 kB / 0.9905 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9204, allocations: 4 kB / 0.9905 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005198/0.921, allocations: 67.84 kB / 0.9905 GB, free: 11.98 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/0.9229, allocations: 0.8947 MB / 0.9914 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.9252, allocations: 0.6623 MB / 0.9921 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9252, allocations: 0 / 0.9921 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.926, allocations: 157.5 kB / 0.9922 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.9264, allocations: 31.94 kB / 0.9922 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.9309, allocations: 1.411 MB / 0.9936 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.9314, allocations: 0.7327 MB / 0.9943 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.9317, allocations: 25.53 kB / 0.9943 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.9318, allocations: 55.36 kB / 0.9944 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of SimCode: time 1.072e-06/0.9318, allocations: 0 / 0.9944 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.954, allocations: 4.585 MB / 0.9989 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.9543, allocations: 224.4 kB / 0.9991 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.975, allocations: 0 / 0.9991 GB, free: 3.254 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat does not exist to compare? outputFormat=mat