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.0008885/0.0008886, allocations: 87.11 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.001105/0.001105, 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.392/1.392, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.718, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002411/0.7204, allocations: 1.69 MB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.7229, allocations: 1.556 MB / 0.9843 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.723, allocations: 4 kB / 0.9843 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.811e-05/0.723, allocations: 11.86 kB / 0.9843 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.7232, allocations: 43.67 kB / 0.9844 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.724, allocations: 267.2 kB / 0.9846 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.7242, allocations: 211.1 kB / 0.9848 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.7244, allocations: 37.64 kB / 0.9849 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.7245, allocations: 67.83 kB / 0.9849 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.7246, allocations: 79.75 kB / 0.985 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.7247, allocations: 11.94 kB / 0.985 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.7254, allocations: 379.5 kB / 0.9854 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.7255, allocations: 35.89 kB / 0.9854 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.7256, allocations: 57.58 kB / 0.9855 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.726, allocations: 305.6 kB / 0.9857 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.726, allocations: 4 kB / 0.9858 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.726, allocations: 7.938 kB / 0.9858 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.726, allocations: 0 / 0.9858 GB, free: 1.469 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.0007578/0.7268, allocations: 498.9 kB / 0.9862 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.7268, allocations: 8.031 kB / 0.9862 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.7269, allocations: 54.55 kB / 0.9863 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005027/0.7274, allocations: 99.72 kB / 0.9864 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.7276, allocations: 178.9 kB / 0.9866 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.7277, allocations: 45.7 kB / 0.9866 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.7277, allocations: 15.98 kB / 0.9866 GB, free: 496 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.7281, allocations: 181.5 kB / 0.9868 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7281, allocations: 0 / 0.9868 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.7281, allocations: 12 kB / 0.9868 GB, free: 296 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.7282, allocations: 4 kB / 0.9868 GB, free: 292 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.7287, allocations: 191.7 kB / 0.987 GB, free: 100 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.73, allocations: 0.9191 MB / 0.9879 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.7306, allocations: 178.6 kB / 0.9881 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.7308, allocations: 80.77 kB / 0.9881 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.7314, allocations: 0.522 MB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.7314, allocations: 34.56 kB / 0.9887 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.7314, allocations: 0 / 0.9887 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0006703/0.7321, allocations: 249.7 kB / 0.9889 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.7322, allocations: 55.41 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.7323, allocations: 164.3 kB / 0.9891 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.7323, allocations: 33.7 kB / 0.9892 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.7324, allocations: 111.8 kB / 0.9893 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.7325, allocations: 51.3 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.7325, allocations: 4 kB / 0.9893 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.7327, allocations: 326.8 kB / 0.9896 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.7329, allocations: 79.84 kB / 0.9897 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.7331, allocations: 103.2 kB / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.7333, allocations: 72.48 kB / 0.9899 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7333, allocations: 0 / 0.9899 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004587/0.7338, allocations: 219.3 kB / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7338, allocations: 4 kB / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7338, allocations: 4 kB / 0.9901 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.7339, allocations: 0 / 0.9901 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.7341, allocations: 39.97 kB / 0.9901 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7341, allocations: 7.938 kB / 0.9901 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.7343, allocations: 27.73 kB / 0.9902 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.7343, allocations: 15.95 kB / 0.9902 GB, free: 12.52 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.0002244/0.7345, allocations: 125.8 kB / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.7346, allocations: 11.91 kB / 0.9903 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.7351, allocations: 201.6 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7351, allocations: 0 / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7351, allocations: 3.984 kB / 0.9905 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7351, allocations: 0 / 0.9905 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.7365, allocations: 0.9972 MB / 0.9915 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7365, allocations: 0 / 0.9915 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.7367, allocations: 36.03 kB / 0.9915 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.7367, allocations: 0 / 0.9915 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7367, allocations: 8 kB / 0.9915 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.7367, allocations: 4 kB / 0.9915 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7368, allocations: 7.953 kB / 0.9915 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.7373, allocations: 293 kB / 0.9918 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.7373, allocations: 97 kB / 0.9919 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.7374, allocations: 4 kB / 0.9919 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.7376, allocations: 15.97 kB / 0.9919 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.7376, allocations: 23.94 kB / 0.9919 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.7376, allocations: 4 kB / 0.9919 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.7377, allocations: 117.1 kB / 0.9921 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7377, allocations: 0 / 0.9921 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005861/0.7383, allocations: 131.8 kB / 0.9922 GB, free: 10.25 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.00131/0.7396, allocations: 0.9535 MB / 0.9931 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.7401, allocations: 179.9 kB / 0.9933 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7401, allocations: 0 / 0.9933 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.7403, allocations: 87.89 kB / 0.9934 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.7408, allocations: 52.05 kB / 0.9934 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.7429, allocations: 1.028 MB / 0.9944 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.7433, allocations: 0.7089 MB / 0.9951 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.7435, allocations: 32.16 kB / 0.9951 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.7436, allocations: 47.41 kB / 0.9952 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7436, allocations: 0 / 0.9952 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.7619, allocations: 5.614 MB / 1.001 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.7621, allocations: 219.6 kB / 1.001 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.572, allocations: 1.828 kB / 1.001 GB, free: 1.43 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