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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001234/0.001234, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.011/0.011, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 14.59 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.343, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003325/0.3464, allocations: 1.74 MB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.3501, allocations: 1.722 MB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3502, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.328e-05/0.3503, allocations: 11.92 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.3505, allocations: 47.61 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.3519, allocations: 287.2 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.3522, allocations: 215.2 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3524, allocations: 33.48 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.3527, allocations: 79.7 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3529, allocations: 75.73 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.353, allocations: 12 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3541, allocations: 391.5 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.3542, allocations: 35.83 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3544, allocations: 105.4 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007389/0.3551, allocations: 415.2 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3551, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3551, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3552, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 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.0008915/0.356, allocations: 499.2 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3561, allocations: 11.97 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.3562, allocations: 54.73 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.3568, allocations: 104.6 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.357, allocations: 184 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.3571, allocations: 54.19 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.3571, allocations: 16.38 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.3575, allocations: 189.8 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3576, allocations: 3.984 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3576, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3576, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.3581, allocations: 187.9 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.3596, allocations: 0.9227 MB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.3601, allocations: 178.6 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.3603, allocations: 84.83 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.361, allocations: 0.5142 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.3611, allocations: 38.56 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.3611, allocations: 4 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007754/0.3619, allocations: 248.8 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3619, allocations: 51.41 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3621, allocations: 164.3 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3621, allocations: 25.7 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3622, allocations: 127.7 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.3623, allocations: 51.23 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.3624, allocations: 25.7 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3625, allocations: 318.8 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3627, allocations: 83.95 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.363, allocations: 99.22 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3634, allocations: 162.5 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3634, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005212/0.3639, allocations: 215.4 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3639, allocations: 8.031 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3639, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.364, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3642, allocations: 39.91 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.3643, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.3645, allocations: 23.83 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3645, allocations: 8 kB / 1.068 GB, free: 10.67 MB / 0.8262 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.0001099/0.3646, allocations: 133.7 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.3647, allocations: 15.81 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005306/0.3652, allocations: 206.4 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3652, allocations: 3.938 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3652, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3652, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.3668, allocations: 0.9934 MB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3668, allocations: 4 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.367, allocations: 23.98 kB / 1.07 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.367, allocations: 4 kB / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3671, allocations: 8.047 kB / 1.07 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.3671, allocations: 8 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3671, allocations: 0 / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.3676, allocations: 303.7 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.3677, allocations: 100.8 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3678, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.368, allocations: 15.98 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.368, allocations: 11.92 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3681, allocations: 8 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.374e-05/0.3682, allocations: 127.5 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3682, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005116/0.3687, allocations: 127.9 kB / 1.07 GB, free: 8.391 MB / 0.8262 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.00123/0.3699, allocations: 0.952 MB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004957/0.3704, allocations: 183.8 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3704, allocations: 4.062 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.3707, allocations: 83.91 kB / 1.072 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3711, allocations: 44.03 kB / 1.072 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.3741, allocations: 2.136 MB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3745, allocations: 0.705 MB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.3746, allocations: 32.86 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3747, allocations: 39.42 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3748, allocations: 4 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.3926, allocations: 5.671 MB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.3929, allocations: 239.5 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.463, allocations: 0.625 kB / 1.08 GB, free: 14.34 MB / 0.8419 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches