Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",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.001619/0.001619, allocations: 99.86 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.00203/0.00203, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.4/2.4, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.351/4.351, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000855/0.0008553, allocations: 12 kB / 0.8375 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297/1.298, allocations: 146.8 MB / 0.9809 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003859/1.302, allocations: 1.766 MB / 0.9826 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004746/1.307, allocations: 2.272 MB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/1.307, allocations: 8 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/1.309, allocations: 0.5491 MB / 0.9854 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004122/1.31, allocations: 111.6 kB / 0.9855 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/1.311, allocations: 196.8 kB / 0.9857 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006748/1.311, allocations: 299.4 kB / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/1.312, allocations: 81.03 kB / 0.986 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/1.312, allocations: 123.4 kB / 0.9861 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/1.312, allocations: 139.3 kB / 0.9863 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/1.312, allocations: 4 kB / 0.9863 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/1.313, allocations: 43.92 kB / 0.9863 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/1.313, allocations: 127.5 kB / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/1.313, allocations: 129.4 kB / 0.9866 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008025/1.314, allocations: 0.5555 MB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.314, allocations: 0 / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.165e-06/1.314, allocations: 0 / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.314, allocations: 0 / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0019/1.316, allocations: 0.8331 MB / 0.9879 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.583e-05/1.316, allocations: 12.03 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/1.316, allocations: 30.56 kB / 0.988 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/1.316, allocations: 71.06 kB / 0.988 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/1.317, allocations: 419.5 kB / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/1.317, allocations: 4 kB / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/1.317, allocations: 8 kB / 0.9884 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/1.317, allocations: 104.1 kB / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.317, allocations: 0 / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/1.317, allocations: 4 kB / 0.9885 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.317, allocations: 4 kB / 0.9885 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/1.318, allocations: 39.91 kB / 0.9886 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/1.319, allocations: 0.5201 MB / 0.9891 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/1.319, allocations: 102.6 kB / 0.9892 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/1.319, allocations: 3.984 kB / 0.9892 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/1.32, allocations: 91.53 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/1.32, allocations: 0 / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.000611/1.32, allocations: 188.8 kB / 0.9895 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/1.32, allocations: 106.8 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.322, allocations: 0.9148 MB / 0.9905 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/1.322, allocations: 33.7 kB / 0.9905 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/1.323, allocations: 308.1 kB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/1.323, allocations: 23.73 kB / 0.9908 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/1.323, allocations: 0 / 0.9908 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002306/1.323, allocations: 317.9 kB / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/1.323, allocations: 27.98 kB / 0.9911 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/1.324, allocations: 76.27 kB / 0.9912 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/1.324, allocations: 31.97 kB / 0.9912 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.324, allocations: 0 / 0.9912 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000512/1.324, allocations: 172.6 kB / 0.9914 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/1.324, allocations: 8 kB / 0.9914 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.324, allocations: 0 / 0.9914 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.324, allocations: 4.031 kB / 0.9914 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/1.325, allocations: 19.98 kB / 0.9914 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.325, allocations: 0 / 0.9914 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/1.325, allocations: 4 kB / 0.9914 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/1.325, allocations: 4 kB / 0.9914 GB, free: 11.23 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0006415/1.325, allocations: 331 kB / 0.9918 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.326, allocations: 71.11 kB / 0.9918 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/1.326, allocations: 78.41 kB / 0.9919 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/1.326, allocations: 0 / 0.9919 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.326, allocations: 4 kB / 0.9919 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.326, allocations: 0 / 0.9919 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/1.327, allocations: 393.4 kB / 0.9923 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/1.327, allocations: 4 kB / 0.9923 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/1.327, allocations: 4 kB / 0.9923 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/1.327, allocations: 3.953 kB / 0.9923 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.327, allocations: 8.172 kB / 0.9923 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.327, allocations: 0 / 0.9923 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.327, allocations: 3.938 kB / 0.9923 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/1.327, allocations: 204.1 kB / 0.9925 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/1.327, allocations: 136.3 kB / 0.9926 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.785e-05/1.327, allocations: 11.94 kB / 0.9926 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/1.328, allocations: 4 kB / 0.9926 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.328, allocations: 7.984 kB / 0.9926 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/1.328, allocations: 8 kB / 0.9927 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001255/1.329, allocations: 0.6707 MB / 0.9933 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.8e-07/1.329, allocations: 0 / 0.9933 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005591/1.33, allocations: 71.92 kB / 0.9934 GB, free: 9.148 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0024/1.332, allocations: 1.043 MB / 0.9944 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003593/1.332, allocations: 75.88 kB / 0.9945 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.332, allocations: 8.062 kB / 0.9945 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/1.333, allocations: 39.92 kB / 0.9945 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.334, allocations: 157.4 kB / 0.9947 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008977/1.343, allocations: 3.805 MB / 0.9984 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009622/1.344, allocations: 1.006 MB / 0.9994 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000383/1.344, allocations: 46.95 kB / 0.9994 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/1.345, allocations: 183.4 kB / 0.9996 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of SimCode: time 1.663e-06/1.345, allocations: 4 kB / 0.9996 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06393/1.409, allocations: 12.26 MB / 1.012 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003616/1.409, allocations: 240.1 kB / 1.012 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/5.078, allocations: 0 / 1.012 GB, free: 6.637 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat does not exist to compare? outputFormat=mat