Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.001549/0.001559, allocations: 100 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.002258/0.002258, 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 2.274/2.274, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.634/4.634, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005726/0.0005727, allocations: 11.98 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354/1.354, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00434/1.359, allocations: 1.871 MB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002604/1.361, allocations: 0.8327 MB / 0.9835 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/1.362, allocations: 4 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000808/1.363, allocations: 183.2 kB / 0.9837 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/1.363, allocations: 63.83 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/1.363, allocations: 79.83 kB / 0.9838 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004893/1.364, allocations: 167.5 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/1.364, allocations: 70.83 kB / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/1.365, allocations: 75.64 kB / 0.9841 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/1.365, allocations: 83.53 kB / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/1.365, allocations: 4 kB / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/1.365, allocations: 123.8 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/1.366, allocations: 171.4 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/1.366, allocations: 121.3 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009754/1.367, allocations: 0.4931 MB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.367, allocations: 0 / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.05e-06/1.367, allocations: 0 / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.092e-05/1.367, allocations: 0 / 0.9851 GB, free: 1.934 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002293/1.369, allocations: 0.87 MB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.536e-05/1.369, allocations: 12.03 kB / 0.9859 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.534e-05/1.37, allocations: 42.56 kB / 0.986 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/1.37, allocations: 122.9 kB / 0.9861 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/1.373, allocations: 0.7875 MB / 0.9869 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/1.373, allocations: 8.047 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/1.373, allocations: 12 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/1.373, allocations: 153.4 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.373, allocations: 3.938 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/1.373, allocations: 4 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/1.373, allocations: 8 kB / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/1.374, allocations: 111.9 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/1.376, allocations: 0.6289 MB / 0.9878 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/1.377, allocations: 146.4 kB / 0.9879 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/1.378, allocations: 0.5776 MB / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.378, allocations: 30.56 kB / 0.9885 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=5): time 5.931e-06/1.378, allocations: 4 kB / 0.9885 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5): time 0.0005623/1.379, allocations: 148.9 kB / 0.9887 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.379, allocations: 55.36 kB / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/1.38, allocations: 0.7789 MB / 0.9895 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.381, allocations: 25.7 kB / 0.9895 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/1.381, allocations: 375.4 kB / 0.9899 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/1.381, allocations: 7.812 kB / 0.9899 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/1.381, allocations: 8 kB / 0.9899 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.381, allocations: 314 kB / 0.9902 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/1.381, allocations: 12 kB / 0.9902 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/1.382, allocations: 61.94 kB / 0.9902 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/1.382, allocations: 27.92 kB / 0.9903 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.382, allocations: 4 kB / 0.9903 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004426/1.382, allocations: 164.6 kB / 0.9904 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/1.382, allocations: 8 kB / 0.9904 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.382, allocations: 0 / 0.9904 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/1.382, allocations: 8.188 kB / 0.9904 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/1.382, allocations: 23.97 kB / 0.9905 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/1.383, allocations: 7.891 kB / 0.9905 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/1.383, allocations: 11.94 kB / 0.9905 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/1.383, allocations: 8 kB / 0.9905 GB, free: 12.09 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0005104/1.383, allocations: 247.5 kB / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.383, allocations: 71.06 kB / 0.9908 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/1.384, allocations: 148.1 kB / 0.9909 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.384, allocations: 0 / 0.9909 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.384, allocations: 0 / 0.9909 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/1.384, allocations: 7.953 kB / 0.9909 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007446/1.385, allocations: 381.5 kB / 0.9913 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.385, allocations: 384 / 0.9913 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/1.385, allocations: 11.98 kB / 0.9913 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/1.385, allocations: 4 kB / 0.9913 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/1.385, allocations: 0 / 0.9913 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.385, allocations: 4 kB / 0.9913 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.385, allocations: 4 kB / 0.9913 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/1.385, allocations: 230.5 kB / 0.9915 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/1.386, allocations: 140.1 kB / 0.9917 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/1.386, allocations: 0 / 0.9917 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/1.386, allocations: 4 kB / 0.9917 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/1.386, allocations: 3.984 kB / 0.9917 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/1.386, allocations: 11.94 kB / 0.9917 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001014/1.387, allocations: 0.5536 MB / 0.9922 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3e-07/1.387, allocations: 0 / 0.9922 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005695/1.388, allocations: 39.91 kB / 0.9923 GB, free: 10.16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009155/1.388, allocations: 0.7701 MB / 0.993 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000263/1.389, allocations: 55.86 kB / 0.9931 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.389, allocations: 0 / 0.9931 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/1.389, allocations: 15.98 kB / 0.9931 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/1.389, allocations: 47.31 kB / 0.9931 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.4, allocations: 4.465 MB / 0.9975 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.401, allocations: 0.952 MB / 0.9984 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004292/1.401, allocations: 69.33 kB / 0.9985 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/1.402, allocations: 219.4 kB / 0.9987 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of SimCode: time 1.583e-06/1.402, allocations: 0 / 0.9987 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1736/1.575, allocations: 9.347 MB / 1.008 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/1.576, allocations: 208.2 kB / 1.008 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.854/5.43, allocations: 0 / 1.008 GB, free: 10.05 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat does not exist to compare? outputFormat=mat