Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.000896/0.000896, allocations: 100.6 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.0008762/0.0008763, 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 1.23/1.23, 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 2.374/2.374, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 11.98 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7639, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002042/0.766, allocations: 1.624 MB / 0.9825 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.768, allocations: 1.472 MB / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.7681, allocations: 4 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.7682, allocations: 15.84 kB / 0.9839 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.7683, allocations: 59.86 kB / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.769, allocations: 262.3 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.7692, allocations: 143.7 kB / 0.9844 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.7693, allocations: 49.61 kB / 0.9844 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.7694, allocations: 71.78 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.7696, allocations: 75.73 kB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.7696, allocations: 12 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000659/0.7703, allocations: 379.5 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.7703, allocations: 43.89 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.7704, allocations: 53.58 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.7708, allocations: 305.6 kB / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.7708, allocations: 0 / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7708, allocations: 0 / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7708, allocations: 0 / 0.9853 GB, free: 1.742 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.000735/0.7715, allocations: 0.4989 MB / 0.9858 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7716, allocations: 8.031 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.7717, allocations: 50.55 kB / 0.9858 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.7722, allocations: 103.7 kB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.7724, allocations: 171 kB / 0.9861 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.7724, allocations: 49.69 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.7725, allocations: 12 kB / 0.9862 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.7729, allocations: 189.5 kB / 0.9863 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7729, allocations: 0 / 0.9863 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.7729, allocations: 11.94 kB / 0.9864 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7729, allocations: 4 kB / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.7734, allocations: 183.8 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.7747, allocations: 0.9113 MB / 0.9874 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.7752, allocations: 186.5 kB / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/0.7758, allocations: 0.5181 MB / 0.9881 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.7758, allocations: 38.81 kB / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.7758, allocations: 0 / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0006769/0.7765, allocations: 257.3 kB / 0.9884 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.7765, allocations: 51.41 kB / 0.9884 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.7767, allocations: 160.4 kB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.7767, allocations: 29.7 kB / 0.9886 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.7768, allocations: 119.8 kB / 0.9887 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.7768, allocations: 51.28 kB / 0.9888 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.7769, allocations: 7.938 kB / 0.9888 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.777, allocations: 322.8 kB / 0.9891 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.7772, allocations: 79.91 kB / 0.9892 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.7774, allocations: 101.7 kB / 0.9893 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.7776, allocations: 65.02 kB / 0.9893 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7776, allocations: 0 / 0.9893 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004731/0.7781, allocations: 231 kB / 0.9896 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7781, allocations: 4 kB / 0.9896 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7781, allocations: 0 / 0.9896 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7781, allocations: 0 / 0.9896 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.7784, allocations: 43.91 kB / 0.9896 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.7784, allocations: 0 / 0.9896 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.7786, allocations: 35.73 kB / 0.9896 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.7786, allocations: 4 kB / 0.9896 GB, free: 12.88 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 0.0001064/0.7787, allocations: 121.8 kB / 0.9898 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.7788, allocations: 15.89 kB / 0.9898 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.7793, allocations: 210.4 kB / 0.99 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7793, allocations: 0 / 0.99 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7793, allocations: 4 kB / 0.99 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.7793, allocations: 3.984 kB / 0.99 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.7807, allocations: 0.9856 MB / 0.9909 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7807, allocations: 0 / 0.9909 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.7809, allocations: 40.03 kB / 0.991 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.7809, allocations: 4 kB / 0.991 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.7809, allocations: 0 / 0.991 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7809, allocations: 7.938 kB / 0.991 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.7809, allocations: 3.953 kB / 0.991 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.7814, allocations: 319.1 kB / 0.9913 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.7815, allocations: 93 kB / 0.9914 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.7815, allocations: 3.953 kB / 0.9914 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.7817, allocations: 23.98 kB / 0.9914 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.7818, allocations: 11.97 kB / 0.9914 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.7818, allocations: 8 kB / 0.9914 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.7819, allocations: 125 kB / 0.9916 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7819, allocations: 0 / 0.9916 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004362/0.7823, allocations: 127.8 kB / 0.9917 GB, free: 10.57 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.001021/0.7834, allocations: 1.112 MB / 0.9928 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.7838, allocations: 179.9 kB / 0.9929 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7838, allocations: 4 kB / 0.9929 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.784, allocations: 88.08 kB / 0.993 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.7843, allocations: 35.98 kB / 0.9931 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.7861, allocations: 1.199 MB / 0.9942 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.7863, allocations: 0.7167 MB / 0.9949 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.7865, allocations: 24.42 kB / 0.9949 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.7866, allocations: 47.98 kB / 0.995 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7866, allocations: 0 / 0.995 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4879/1.275, allocations: 5.619 MB / 1 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/1.275, allocations: 227.5 kB / 1.001 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.819, allocations: 0 / 1.001 GB, free: 1.434 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat does not exist to compare? outputFormat=mat