Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.0008633/0.0008632, 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.0008707/0.0008706, 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.254/1.254, 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 2.408/2.408, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7558, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001767/0.7576, allocations: 1.616 MB / 0.9824 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.7595, allocations: 1.482 MB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.7595, allocations: 0 / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.7596, allocations: 19.84 kB / 0.9839 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.7597, allocations: 47.88 kB / 0.984 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.7604, allocations: 271.3 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.7606, allocations: 143.7 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.7608, allocations: 41.62 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.7609, allocations: 75.77 kB / 0.9845 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.761, allocations: 75.75 kB / 0.9845 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.761, allocations: 8 kB / 0.9845 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006696/0.7617, allocations: 391.5 kB / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.7618, allocations: 31.84 kB / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.7618, allocations: 53.64 kB / 0.985 GB, free: 2 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.7622, allocations: 309.6 kB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.7622, allocations: 0 / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7622, allocations: 0 / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7622, allocations: 4 kB / 0.9853 GB, free: 1.695 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006579/0.7629, allocations: 0.4911 MB / 0.9858 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.7629, allocations: 8.031 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.7629, allocations: 50.55 kB / 0.9858 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005162/0.7635, allocations: 95.72 kB / 0.9859 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.7636, allocations: 186.9 kB / 0.9861 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.7637, allocations: 45.69 kB / 0.9861 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.7637, allocations: 16 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.7641, allocations: 185.5 kB / 0.9863 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.7641, allocations: 0 / 0.9863 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.7641, allocations: 8 kB / 0.9863 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.7641, allocations: 4 kB / 0.9864 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.7646, allocations: 187.8 kB / 0.9865 GB, free: 332 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.7658, allocations: 0.9074 MB / 0.9874 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.7663, allocations: 182.5 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/0.7669, allocations: 0.522 MB / 0.9881 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.7669, allocations: 42.75 kB / 0.9881 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.7669, allocations: 0 / 0.9881 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0006404/0.7676, allocations: 255.8 kB / 0.9884 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.7676, allocations: 59.41 kB / 0.9884 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.7677, allocations: 152.4 kB / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.7678, allocations: 37.69 kB / 0.9886 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.7679, allocations: 115.8 kB / 0.9887 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.7679, allocations: 51.23 kB / 0.9888 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.7679, allocations: 4 kB / 0.9888 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.768, allocations: 322.8 kB / 0.9891 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.7682, allocations: 87.91 kB / 0.9892 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.7684, allocations: 93.67 kB / 0.9893 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.7686, allocations: 65.02 kB / 0.9893 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7686, allocations: 4 kB / 0.9893 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004608/0.7691, allocations: 223 kB / 0.9895 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.7691, allocations: 4 kB / 0.9896 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7691, allocations: 7.984 kB / 0.9896 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.7691, allocations: 0 / 0.9896 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.7694, allocations: 40 kB / 0.9896 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7694, allocations: 7.938 kB / 0.9896 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.7696, allocations: 27.73 kB / 0.9896 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.7696, allocations: 8 kB / 0.9896 GB, free: 12.84 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: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.992e-05/0.7697, allocations: 121.8 kB / 0.9898 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.7697, allocations: 19.91 kB / 0.9898 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.7702, allocations: 213.3 kB / 0.99 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7703, allocations: 0 / 0.99 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7703, allocations: 4 kB / 0.99 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7703, allocations: 3.984 kB / 0.99 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.7716, allocations: 0.9856 MB / 0.9909 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7716, allocations: 0 / 0.9909 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.7718, allocations: 35.97 kB / 0.991 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7718, allocations: 0 / 0.991 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.7718, allocations: 4 kB / 0.991 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7718, allocations: 3.938 kB / 0.991 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7718, allocations: 8.016 kB / 0.991 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.7723, allocations: 312.5 kB / 0.9913 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.7723, allocations: 97 kB / 0.9914 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.7724, allocations: 7.953 kB / 0.9914 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.7726, allocations: 11.98 kB / 0.9914 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.7726, allocations: 15.97 kB / 0.9914 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.7727, allocations: 8 kB / 0.9914 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.433e-05/0.7727, allocations: 122.1 kB / 0.9915 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.192e-06/0.7727, allocations: 3.938 kB / 0.9915 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004322/0.7732, allocations: 135.7 kB / 0.9917 GB, free: 10.52 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001016/0.7742, allocations: 1.109 MB / 0.9928 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.7746, allocations: 179.9 kB / 0.9929 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7747, allocations: 0 / 0.9929 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.7749, allocations: 91.83 kB / 0.993 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.7751, allocations: 40.17 kB / 0.9931 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.7768, allocations: 1.183 MB / 0.9942 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.777, allocations: 0.7089 MB / 0.9949 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.7772, allocations: 31.17 kB / 0.9949 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.7773, allocations: 47.42 kB / 0.995 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.7773, allocations: 0 / 0.995 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4598/1.237, allocations: 5.598 MB / 1 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.237, allocations: 221.2 kB / 1.001 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.773, allocations: 0.875 kB / 1.001 GB, free: 1.391 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat does not exist to compare? outputFormat=mat