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.001354/0.001355, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001692/0.001692, allocations: 172.7 kB / 15.95 MB, free: 208 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.611/1.611, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.715/2.715, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004136, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8573, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003502/0.8609, allocations: 1.652 MB / 0.9827 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.8627, allocations: 0.6161 MB / 0.9834 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.863, allocations: 3.938 kB / 0.9834 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.183e-05/0.8631, allocations: 7.922 kB / 0.9834 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.8635, allocations: 35.64 kB / 0.9834 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.8642, allocations: 114.8 kB / 0.9835 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.8647, allocations: 247.2 kB / 0.9837 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.865, allocations: 56.42 kB / 0.9838 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.8653, allocations: 87.69 kB / 0.9839 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.8655, allocations: 107.5 kB / 0.984 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.8656, allocations: 11.94 kB / 0.984 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.8656, allocations: 12 kB / 0.984 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.8657, allocations: 35.83 kB / 0.984 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.8658, allocations: 53.64 kB / 0.9841 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.8662, allocations: 185.8 kB / 0.9843 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.8662, allocations: 0 / 0.9843 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8662, allocations: 0 / 0.9843 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.207e-05/0.8662, allocations: 0 / 0.9843 GB, free: 3.035 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.001578/0.8678, allocations: 0.6306 MB / 0.9849 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.8679, allocations: 8.031 kB / 0.9849 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.868, allocations: 50.55 kB / 0.9849 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.8681, allocations: 23.72 kB / 0.985 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.8686, allocations: 262.6 kB / 0.9852 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.8687, allocations: 4 kB / 0.9852 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.8687, allocations: 16 kB / 0.9852 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.8695, allocations: 268 kB / 0.9855 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.8695, allocations: 0 / 0.9855 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.8695, allocations: 4 kB / 0.9855 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.8696, allocations: 4 kB / 0.9855 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.8705, allocations: 275.7 kB / 0.9858 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009364/0.8714, allocations: 0.5157 MB / 0.9863 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.8724, allocations: 318.5 kB / 0.9866 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.8728, allocations: 144.7 kB / 0.9867 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.8729, allocations: 7.984 kB / 0.9867 GB, free: 352 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006013/0.8735, allocations: 211.8 kB / 0.9869 GB, free: 128 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.8735, allocations: 4 kB / 0.9869 GB, free: 124 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001484/0.875, allocations: 454.2 kB / 0.9873 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.8751, allocations: 63.33 kB / 0.9874 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.8753, allocations: 199.2 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.8754, allocations: 37.69 kB / 0.9876 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.8755, allocations: 128.2 kB / 0.9878 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.8756, allocations: 47.44 kB / 0.9878 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.8756, allocations: 4 kB / 0.9878 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8758, allocations: 330.8 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.8762, allocations: 135.9 kB / 0.9883 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.8767, allocations: 137.2 kB / 0.9884 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.8771, allocations: 184.3 kB / 0.9886 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8771, allocations: 0 / 0.9886 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001015/0.8782, allocations: 414.1 kB / 0.989 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.8783, allocations: 150.6 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.8784, allocations: 7.953 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8784, allocations: 0 / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.8787, allocations: 67.88 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.8787, allocations: 0 / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.879, allocations: 59.8 kB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.879, allocations: 7.984 kB / 0.9892 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.879, allocations: 4 kB / 0.9892 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008485/0.8799, allocations: 363.1 kB / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.8799, allocations: 4 kB / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/0.8799, allocations: 0 / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.8802, allocations: 55.89 kB / 0.9896 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.8802, allocations: 4 kB / 0.9896 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.8804, allocations: 59.78 kB / 0.9897 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.8805, allocations: 15.92 kB / 0.9897 GB, free: 13.14 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.0001932/0.8806, allocations: 204.4 kB / 0.9899 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.8807, allocations: 19.77 kB / 0.9899 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.8808, allocations: 29.52 kB / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8808, allocations: 4 kB / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8808, allocations: 0 / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8808, allocations: 0 / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.8811, allocations: 277.3 kB / 0.9902 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8811, allocations: 0 / 0.9902 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.8814, allocations: 55.94 kB / 0.9903 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.8814, allocations: 0 / 0.9903 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.8814, allocations: 11.95 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8814, allocations: 4 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8815, allocations: 0 / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.8824, allocations: 350.2 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8825, allocations: 104.8 kB / 0.9907 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.8825, allocations: 0 / 0.9907 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.8828, allocations: 55.91 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.8829, allocations: 31.88 kB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.883, allocations: 8 kB / 0.9908 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001655/0.8831, allocations: 151 kB / 0.991 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8831, allocations: 0 / 0.991 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003828/0.8835, allocations: 79.84 kB / 0.991 GB, free: 11.7 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.001359/0.8849, allocations: 0.888 MB / 0.9919 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.8864, allocations: 0.6668 MB / 0.9926 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8864, allocations: 3.938 kB / 0.9926 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.8868, allocations: 151.8 kB / 0.9927 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.8872, allocations: 41.33 kB / 0.9927 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.8903, allocations: 1.415 MB / 0.9941 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.8907, allocations: 0.725 MB / 0.9948 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.8908, allocations: 21.55 kB / 0.9949 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.891, allocations: 63.41 kB / 0.9949 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of SimCode: time 1.172e-06/0.891, allocations: 0 / 0.9949 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.9099, allocations: 4.596 MB / 0.9994 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.9102, allocations: 231.7 kB / 0.9996 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.952, allocations: 0 / 0.9996 GB, free: 2.961 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