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.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_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.0009509/0.000951, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007086/0.007086, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.62/2.62, allocations: 462.7 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 9.906 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3708, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002833/0.3737, allocations: 1.74 MB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.3766, allocations: 1.709 MB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.3767, allocations: 4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.94e-05/0.3768, allocations: 15.91 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.377, allocations: 43.62 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3782, allocations: 299.1 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3785, allocations: 203.2 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3787, allocations: 41.47 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3788, allocations: 75.72 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.379, allocations: 79.72 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3791, allocations: 8 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009246/0.38, allocations: 391.5 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.3801, allocations: 31.84 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3802, allocations: 109.3 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.3809, allocations: 419.3 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3809, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3809, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3809, allocations: 0 / 1.064 GB, free: 15.73 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.0009345/0.3819, allocations: 495.2 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3819, allocations: 8.031 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.905e-05/0.382, allocations: 54.73 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006205/0.3827, allocations: 104.6 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.3828, allocations: 184 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3829, allocations: 50.25 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.383, allocations: 20.31 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.3834, allocations: 189.8 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3835, allocations: 3.984 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.3835, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3835, allocations: 8 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.384, allocations: 183.9 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.3854, allocations: 0.9071 MB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.386, allocations: 182.6 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.3862, allocations: 80.83 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006525/0.3868, allocations: 0.5259 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3869, allocations: 30.56 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.3869, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007511/0.3876, allocations: 253.7 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3877, allocations: 55.41 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3878, allocations: 164.2 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3879, allocations: 29.7 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.388, allocations: 123.7 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.388, allocations: 47.34 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3881, allocations: 21.66 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3882, allocations: 330.8 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.3884, allocations: 75.95 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.3886, allocations: 99.05 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.3891, allocations: 163 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3891, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005222/0.3896, allocations: 218.7 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3896, allocations: 4 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3896, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3897, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3899, allocations: 47.94 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3899, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3901, allocations: 27.77 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.3902, 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.0001263/0.3903, allocations: 129.7 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.3903, allocations: 15.81 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.3909, allocations: 209.3 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3909, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3909, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3909, allocations: 7.969 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.3924, allocations: 0.9895 MB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3924, allocations: 3.938 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.3926, allocations: 31.97 kB / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.3927, allocations: 4 kB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3927, allocations: 8 kB / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3927, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.3927, allocations: 4 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.3932, allocations: 293 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.3933, allocations: 104.8 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3933, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3936, allocations: 15.98 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.3936, allocations: 15.92 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3936, allocations: 7.984 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.841e-05/0.3937, allocations: 119.5 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3937, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004987/0.3942, allocations: 127.8 kB / 1.07 GB, free: 8.398 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.00121/0.3954, allocations: 0.952 MB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004944/0.396, allocations: 187.8 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.396, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.3962, allocations: 88.09 kB / 1.072 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3966, allocations: 48.58 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.003052/0.3997, allocations: 2.156 MB / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4, allocations: 0.7089 MB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000173/0.4002, allocations: 25.55 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4003, allocations: 39.42 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4003, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.4205, allocations: 5.701 MB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.4208, allocations: 251 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.487, allocations: 0.5 kB / 1.08 GB, free: 14.33 MB / 0.8419 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/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