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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004622/0.004622, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00106/0.00106, allocations: 196.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.664/2.664, allocations: 469.4 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.297, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003599/0.3006, allocations: 2.044 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.3035, allocations: 1.662 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3036, allocations: 4 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.254e-05/0.3037, allocations: 19.78 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3039, allocations: 55.55 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3051, allocations: 350.8 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.3054, allocations: 219.2 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3055, allocations: 47.36 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3057, allocations: 87.7 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3058, allocations: 87.73 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.3059, allocations: 16 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.3067, allocations: 411.5 kB / 1.225 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.3067, allocations: 51.83 kB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.3068, allocations: 83.66 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006463/0.3075, allocations: 426.7 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3075, allocations: 0 / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3075, allocations: 3.938 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3075, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 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.0008548/0.3084, allocations: 0.5256 MB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3084, allocations: 12.03 kB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.3085, allocations: 54.73 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.3091, allocations: 88.73 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3092, allocations: 176.2 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.3093, allocations: 50.25 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.3094, allocations: 16.38 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.3098, allocations: 194.3 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3098, allocations: 0 / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3098, allocations: 4 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3098, allocations: 7.984 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.3103, allocations: 180.5 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.3117, allocations: 0.9189 MB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.3122, allocations: 174.6 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3124, allocations: 80.81 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.313, allocations: 0.5181 MB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.313, allocations: 34.56 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.313, allocations: 3.938 kB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.000692/0.3137, allocations: 236.7 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.3138, allocations: 59.41 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3139, allocations: 157.3 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.314, allocations: 37.69 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.314, allocations: 115.9 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3141, allocations: 55.53 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.3141, allocations: 37.7 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.3142, allocations: 322.8 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3145, allocations: 75.95 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.3147, allocations: 91.22 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.3151, allocations: 151.4 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3151, allocations: 0 / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004885/0.3156, allocations: 223.5 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3156, allocations: 4 kB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3156, allocations: 0 / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3156, allocations: 4 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3159, allocations: 39.91 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3159, allocations: 3.938 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3161, allocations: 27.91 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3161, allocations: 4 kB / 1.23 GB, free: 4.086 MB / 0.9825 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.3162, allocations: 129.7 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.3163, allocations: 15.91 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.3167, allocations: 198.4 kB / 1.23 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3168, allocations: 4 kB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3168, allocations: 0 / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3168, allocations: 0 / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.3181, allocations: 0.9856 MB / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3181, allocations: 0 / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.3184, allocations: 35.92 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3184, allocations: 0 / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3184, allocations: 7.984 kB / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3184, allocations: 0 / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3184, allocations: 0 / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.3189, allocations: 293.1 kB / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.3189, allocations: 89.02 kB / 1.231 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.319, allocations: 0 / 1.231 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3192, allocations: 23.97 kB / 1.231 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.3192, allocations: 11.92 kB / 1.231 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.3193, allocations: 8 kB / 1.231 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.808e-05/0.3194, allocations: 119.2 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3194, allocations: 0 / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004217/0.3198, allocations: 127.6 kB / 1.232 GB, free: 1.844 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/0.3209, allocations: 0.9563 MB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.3214, allocations: 175.9 kB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3214, allocations: 0 / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3216, allocations: 87.95 kB / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.322, allocations: 45.92 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.3248, allocations: 2.087 MB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.325, allocations: 0.7086 MB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.3251, allocations: 29.91 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3253, allocations: 43.42 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.3253, allocations: 4 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.3484, allocations: 6.071 MB / 1.242 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.68, allocations: 4.375 kB / 1.242 GB, free: 7.707 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches