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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 197.3 kB / 16.54 MB, free: 6.672 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.544/1.544, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 60.39 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2817, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003137/0.2849, allocations: 2.02 MB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2872, allocations: 1.666 MB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.2873, allocations: 3.938 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.076e-05/0.2874, allocations: 11.86 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2875, allocations: 51.55 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009612/0.2885, allocations: 366.8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.2887, allocations: 219.1 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2889, allocations: 53.25 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.289, allocations: 79.78 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2891, allocations: 87.72 kB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.2892, allocations: 20 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.2899, allocations: 395.5 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.29, allocations: 39.84 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.2901, allocations: 91.64 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.2906, allocations: 427.2 kB / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2906, allocations: 0 / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2906, allocations: 0 / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2907, allocations: 0 / 1.074 GB, free: 4.875 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.0007717/0.2914, allocations: 0.5147 MB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2915, allocations: 19.95 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.2921, allocations: 88.66 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2922, allocations: 180.2 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.2923, allocations: 46.25 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.2923, allocations: 24.38 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.2927, allocations: 178 kB / 1.075 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2928, allocations: 3.938 kB / 1.075 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2928, allocations: 4 kB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.2928, allocations: 7.984 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.2933, allocations: 179.9 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.2946, allocations: 0.915 MB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.2952, allocations: 178.5 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.2954, allocations: 76.83 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.296, allocations: 0.522 MB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.2961, allocations: 30.56 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/0.2961, allocations: 0 / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007054/0.2968, allocations: 245.2 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2968, allocations: 59.41 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.297, allocations: 158.4 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.297, allocations: 29.7 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.2971, allocations: 115.8 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.2971, allocations: 43.36 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.2972, allocations: 37.7 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2973, allocations: 326.8 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.2975, allocations: 79.95 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2978, allocations: 92.08 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.2982, allocations: 149.5 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2982, allocations: 7.938 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005174/0.2987, allocations: 214.9 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2987, allocations: 4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2987, allocations: 4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2988, allocations: 0 / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.299, allocations: 35.97 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.299, allocations: 3.984 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.2992, allocations: 31.8 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.2992, allocations: 8 kB / 1.078 GB, free: 15.89 MB / 0.8419 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.0001131/0.2994, allocations: 135 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.2994, allocations: 19.75 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.3, allocations: 190.4 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3, allocations: 7.984 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.3014, allocations: 0.9855 MB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3014, allocations: 0 / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.3016, allocations: 27.97 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3017, allocations: 4 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3017, allocations: 0 / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3017, allocations: 0 / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3017, allocations: 4 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.3022, allocations: 293 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3023, allocations: 88.95 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.3023, allocations: 11.98 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.3025, allocations: 15.98 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.3026, allocations: 23.91 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3026, allocations: 4 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.045e-05/0.3027, allocations: 117.7 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3027, allocations: 0 / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004504/0.3031, allocations: 131.8 kB / 1.08 GB, free: 13.64 MB / 0.8419 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.0004342/0.3036, allocations: 235.5 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005362/0.3041, allocations: 187.8 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3041, allocations: 0 / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.3044, allocations: 79.91 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3048, allocations: 36.16 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007988/0.3056, allocations: 331 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3059, allocations: 0.7124 MB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.3061, allocations: 24.92 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.3061, allocations: 31.42 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3061, allocations: 3.938 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.007803/0.3139, allocations: 4.273 MB / 1.086 GB, free: 7.77 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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