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.0008156/0.0008157, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000919/0.0009189, allocations: 168.7 kB / 15.95 MB, free: 204 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.582/2.582, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003715, allocations: 16 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7943, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00252/0.7969, allocations: 1.894 MB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.7982, allocations: 0.8752 MB / 0.9839 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.7983, allocations: 0 / 0.9839 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.7987, allocations: 171.1 kB / 0.984 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.7988, allocations: 55.62 kB / 0.9841 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.7991, allocations: 75.84 kB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.7993, allocations: 191.1 kB / 0.9843 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.7995, allocations: 69.64 kB / 0.9844 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.7996, allocations: 75.58 kB / 0.9845 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.7998, allocations: 87.52 kB / 0.9845 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.7998, allocations: 8 kB / 0.9846 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.8001, allocations: 135.8 kB / 0.9847 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.8002, allocations: 203.4 kB / 0.9849 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.8003, allocations: 117.3 kB / 0.985 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.8008, allocations: 0.5517 MB / 0.9855 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8008, allocations: 0 / 0.9855 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8008, allocations: 3.938 kB / 0.9855 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8009, allocations: 0 / 0.9855 GB, free: 1.711 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.001014/0.8019, allocations: 0.8817 MB / 0.9864 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.8019, allocations: 8.031 kB / 0.9864 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.802, allocations: 50.55 kB / 0.9864 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/0.8025, allocations: 114.9 kB / 0.9866 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.8032, allocations: 0.55 MB / 0.9871 GB, free: 8 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.8032, allocations: 8 kB / 0.9871 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.8033, allocations: 12.06 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.8036, allocations: 205.5 kB / 0.9873 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8037, allocations: 3.938 kB / 0.9873 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.8037, allocations: 8 kB / 0.9873 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8037, allocations: 0 / 0.9873 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.8041, allocations: 227.9 kB / 0.9875 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.8052, allocations: 0.9138 MB / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.8058, allocations: 318.4 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.806, allocations: 105 kB / 0.9888 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008794/0.8069, allocations: 400.7 kB / 0.9892 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.8069, allocations: 38.5 kB / 0.9893 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.807, allocations: 0 / 0.9893 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0007517/0.8077, allocations: 400.5 kB / 0.9896 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.8078, allocations: 55.41 kB / 0.9897 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.809, allocations: 0.9857 MB / 0.9906 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.809, allocations: 33.7 kB / 0.9907 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.8093, allocations: 344 kB / 0.991 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.8093, allocations: 31.55 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.8094, allocations: 4 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8095, allocations: 314 kB / 0.9913 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.8097, allocations: 99.89 kB / 0.9914 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.8099, allocations: 118.5 kB / 0.9915 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.8101, allocations: 99.95 kB / 0.9916 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8101, allocations: 0 / 0.9916 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005105/0.8106, allocations: 324.5 kB / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.8107, allocations: 9.719 kB / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8107, allocations: 0 / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8107, allocations: 0 / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.8109, allocations: 27.92 kB / 0.992 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.8109, allocations: 0 / 0.992 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.811, allocations: 15.89 kB / 0.992 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.811, allocations: 4.469 kB / 0.992 GB, free: 10.81 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0002655/0.8113, allocations: 253.8 kB / 0.9923 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.8114, allocations: 75.02 kB / 0.9923 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006016/0.812, allocations: 328.3 kB / 0.9926 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.812, allocations: 4 kB / 0.9926 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.812, allocations: 0 / 0.9926 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.8121, allocations: 7.969 kB / 0.9926 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.8126, allocations: 0.5246 MB / 0.9932 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.8126, allocations: 7.953 kB / 0.9932 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.8128, allocations: 23.92 kB / 0.9932 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.8128, allocations: 0 / 0.9932 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.8128, allocations: 3.984 kB / 0.9932 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8128, allocations: 0 / 0.9932 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8128, allocations: 0 / 0.9932 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.8134, allocations: 410.4 kB / 0.9936 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.8135, allocations: 180.1 kB / 0.9938 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.8136, allocations: 3.984 kB / 0.9938 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.8138, allocations: 8 kB / 0.9938 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.8138, allocations: 7.984 kB / 0.9938 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.8138, allocations: 8 kB / 0.9938 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008358/0.8147, allocations: 0.7098 MB / 0.9945 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8147, allocations: 0 / 0.9945 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003539/0.815, allocations: 75.84 kB / 0.9945 GB, free: 8.109 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 (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 Backend phase and start with SimCode phase: time 0.0009461/0.816, allocations: 0.95 MB / 0.9955 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.8164, allocations: 215.8 kB / 0.9957 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8164, allocations: 4.125 kB / 0.9957 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.8166, allocations: 111.9 kB / 0.9958 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.8171, allocations: 51.3 kB / 0.9958 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.824, allocations: 4.699 MB / 1 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.8246, allocations: 0.9443 MB / 1.001 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.8248, allocations: 73.33 kB / 1.001 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.8251, allocations: 219.4 kB / 1.002 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/0.8251, allocations: 0 / 1.002 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.8497, allocations: 11.6 MB / 1.013 GB, free: 5.352 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.8499, allocations: 205.8 kB / 1.013 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.806, allocations: 0 / 1.013 GB, free: 5.113 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