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: 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_9_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_9_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.001549/0.001549, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001478/0.001479, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.88 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9719/0.9732, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003337/0.9766, allocations: 2.03 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.9791, allocations: 1.656 MB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.9792, allocations: 2.25 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.9793, allocations: 23.69 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.9794, allocations: 48.47 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.9806, allocations: 354.1 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.9809, allocations: 219.8 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.9811, allocations: 56.81 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.9812, allocations: 86.28 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.9814, allocations: 92.22 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.9814, allocations: 17.69 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.9824, allocations: 414.1 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.9824, allocations: 42.81 kB / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.9825, allocations: 84.61 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.9833, allocations: 423.2 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9833, allocations: 4.625 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9833, allocations: 0 / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.9833, allocations: 1.344 kB / 1.094 GB, free: 2.137 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.0008237/0.9841, allocations: 0.5136 MB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.9842, allocations: 10.11 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000612/0.9848, allocations: 90 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9849, allocations: 178.9 kB / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.985, allocations: 44.23 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.985, allocations: 19.09 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.9855, allocations: 179.9 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.9855, allocations: 8.672 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.9856, allocations: 6.094 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.9856, allocations: 3.719 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.9861, allocations: 186.9 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.9875, allocations: 0.9142 MB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.9881, allocations: 178.8 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.9883, allocations: 78.42 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.989, allocations: 0.52 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.9891, allocations: 32.92 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/0.9891, allocations: 0.6562 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.000817/0.9899, allocations: 246.8 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.99, allocations: 56.66 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.9902, allocations: 153.7 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.9902, allocations: 31.73 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.9903, allocations: 118.2 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.9904, allocations: 49.89 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.9905, allocations: 38.31 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9906, allocations: 322.7 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.9909, allocations: 79.27 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.9911, allocations: 92.84 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.9916, allocations: 148 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.9916, allocations: 5.25 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005646/0.9922, allocations: 214.2 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.9922, allocations: 5.781 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9922, allocations: 1.281 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9922, allocations: 1.281 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.9925, allocations: 39.25 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9925, allocations: 1.891 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.9928, allocations: 28.61 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.9928, allocations: 5.844 kB / 1.098 GB, free: 14.63 MB / 0.8731 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.0001378/0.9929, allocations: 132.8 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.993, allocations: 10.59 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/0.9935, allocations: 208.2 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9936, allocations: 2.828 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9936, allocations: 0 / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9936, allocations: 5.344 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.9952, allocations: 0.9753 MB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9952, allocations: 0.7969 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.9954, allocations: 32.78 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.9954, allocations: 0.75 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.9955, allocations: 2.938 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.9955, allocations: 6.469 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9955, allocations: 4.812 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.996, allocations: 290.6 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.9961, allocations: 86.27 kB / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.9961, allocations: 5.891 kB / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.9964, allocations: 21.88 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.9964, allocations: 17.06 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.9964, allocations: 4.156 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001168/0.9966, allocations: 119.4 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9966, allocations: 1.531 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006161/0.9972, allocations: 130 kB / 1.1 GB, free: 13.04 MB / 0.8731 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.0005017/0.9977, allocations: 226.4 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.9983, allocations: 180 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9983, allocations: 0 / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.9985, allocations: 86.17 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.999, allocations: 50.5 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.9998, allocations: 352.7 kB / 1.101 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/1, allocations: 0.7072 MB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/1, allocations: 29.84 kB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1, allocations: 0 / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.008839/1.009, allocations: 3.873 MB / 1.106 GB, free: 11.43 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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