Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_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.007646/0.007646, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001549/0.001549, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 68.22 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2645, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003397/0.268, allocations: 2.027 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.2704, allocations: 1.663 MB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2705, allocations: 8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.111e-05/0.2706, allocations: 19.78 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.2708, allocations: 47.56 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.272, allocations: 354.8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2722, allocations: 227.2 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.2724, allocations: 53.44 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2726, allocations: 83.72 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2727, allocations: 87.72 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.2728, allocations: 20 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008518/0.2736, allocations: 419.5 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.2737, allocations: 39.89 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.2738, allocations: 87.66 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.2744, allocations: 426.6 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2745, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2745, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2745, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 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.0008472/0.2753, allocations: 0.5186 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2754, allocations: 8.031 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.2754, allocations: 54.73 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.276, allocations: 88.73 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.2762, allocations: 180.1 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/0.2763, allocations: 50.25 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.2763, allocations: 12.38 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.2768, allocations: 185.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2768, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.2768, allocations: 11.98 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2768, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.2773, allocations: 179.8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.2787, allocations: 0.9071 MB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.2792, allocations: 178.5 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.2794, allocations: 76.83 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006571/0.2801, allocations: 0.522 MB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2801, allocations: 34.5 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.2801, allocations: 0 / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0007187/0.2808, allocations: 245.6 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.2809, allocations: 51.41 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.281, allocations: 161.1 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2811, allocations: 29.7 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.2812, allocations: 115.8 kB / 1.096 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.2812, allocations: 55.27 kB / 1.096 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/0.2813, allocations: 37.7 kB / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2814, allocations: 326.8 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.2816, allocations: 67.97 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.2818, allocations: 99.2 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.2822, allocations: 159.4 kB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2822, allocations: 0 / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004981/0.2827, allocations: 205.4 kB / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2828, allocations: 8 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2828, allocations: 0 / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2828, allocations: 3.938 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.283, allocations: 39.91 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2831, allocations: 8.031 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2833, allocations: 27.81 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2833, allocations: 4 kB / 1.097 GB, free: 7.395 MB / 0.8575 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.0001105/0.2834, allocations: 125.7 kB / 1.097 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.2834, allocations: 15.81 kB / 1.097 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.284, allocations: 196.3 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.284, allocations: 4 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.284, allocations: 0 / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.284, allocations: 0 / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2854, allocations: 0.9778 MB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2855, allocations: 4 kB / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.2857, allocations: 39.91 kB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2857, allocations: 0 / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2857, allocations: 0 / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.2857, allocations: 8.062 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2857, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.2862, allocations: 293 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.2863, allocations: 88.95 kB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.2863, allocations: 8 kB / 1.099 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2865, allocations: 15.98 kB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.2866, allocations: 11.92 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2866, allocations: 11.98 kB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.989e-05/0.2867, allocations: 117.3 kB / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2867, allocations: 0 / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004676/0.2872, allocations: 131.8 kB / 1.099 GB, free: 5.16 MB / 0.8575 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.001099/0.2883, allocations: 0.9409 MB / 1.1 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.2888, allocations: 181.7 kB / 1.1 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2888, allocations: 4 kB / 1.1 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.289, allocations: 83.89 kB / 1.101 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2894, allocations: 47.41 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.2922, allocations: 2.075 MB / 1.103 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2925, allocations: 0.7125 MB / 1.103 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.2926, allocations: 32.66 kB / 1.103 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2927, allocations: 43.42 kB / 1.103 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2928, allocations: 0 / 1.103 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.3165, allocations: 6.128 MB / 1.109 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/7.981, allocations: 9.969 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches