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: 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.00102/0.00102, allocations: 97.64 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.008575/0.008575, allocations: 172 kB / 16.27 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 443.3 MB / 0.7175 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 12.03 kB / 0.8796 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.298, allocations: 155.2 MB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002394/0.3005, allocations: 1.736 MB / 1.033 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.3031, allocations: 1.716 MB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.3032, allocations: 4 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.3033, allocations: 19.8 kB / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3034, allocations: 47.67 kB / 1.035 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3045, allocations: 295.2 kB / 1.035 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.3048, allocations: 203.2 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.305, allocations: 45.47 kB / 1.035 GB, free: 260 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3051, allocations: 67.78 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3053, allocations: 87.59 kB / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.3054, allocations: 8 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.3062, allocations: 387.5 kB / 1.036 GB, free: 15.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.3063, allocations: 39.84 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.3064, allocations: 105.4 kB / 1.036 GB, free: 15.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006621/0.307, allocations: 419.2 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3071, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3071, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3071, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 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.0008452/0.3079, allocations: 499.2 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.308, allocations: 11.98 kB / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.3087, allocations: 100.6 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.3089, allocations: 180.2 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.309, allocations: 54.19 kB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.3091, allocations: 16.31 kB / 1.037 GB, free: 14.22 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.3095, allocations: 178.1 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3096, allocations: 7.938 kB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.3096, allocations: 11.98 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.3096, allocations: 4 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.3101, allocations: 187.8 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.3116, allocations: 0.9228 MB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.3122, allocations: 182.5 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3124, allocations: 80.83 kB / 1.038 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007271/0.3131, allocations: 0.5181 MB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3132, allocations: 34.56 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3132, allocations: 0 / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0007899/0.314, allocations: 249.4 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.314, allocations: 55.41 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3142, allocations: 156.1 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3142, allocations: 33.7 kB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3144, allocations: 115.8 kB / 1.04 GB, free: 11.21 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.3144, allocations: 47.3 kB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.3145, allocations: 25.7 kB / 1.04 GB, free: 11.13 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3146, allocations: 322.8 kB / 1.04 GB, free: 10.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.3149, allocations: 75.95 kB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3151, allocations: 97.67 kB / 1.04 GB, free: 10.63 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.3155, allocations: 167.5 kB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3156, allocations: 7.875 kB / 1.04 GB, free: 10.45 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005672/0.3161, allocations: 218.8 kB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3162, allocations: 8 kB / 1.041 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3162, allocations: 7.875 kB / 1.041 GB, free: 10.22 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3162, allocations: 4.031 kB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.3165, allocations: 39.97 kB / 1.041 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3165, allocations: 0 / 1.041 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3167, allocations: 27.83 kB / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3167, allocations: 4 kB / 1.041 GB, free: 10.14 MB / 0.795 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.000163/0.3169, allocations: 131.2 kB / 1.041 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.3169, allocations: 23.81 kB / 1.041 GB, free: 9.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.3175, allocations: 201.7 kB / 1.041 GB, free: 9.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3175, allocations: 4 kB / 1.041 GB, free: 9.777 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3175, allocations: 4 kB / 1.041 GB, free: 9.773 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3175, allocations: 0 / 1.041 GB, free: 9.773 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.319, allocations: 0.9895 MB / 1.042 GB, free: 8.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.319, allocations: 0 / 1.042 GB, free: 8.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.3192, allocations: 35.92 kB / 1.042 GB, free: 8.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3193, allocations: 0 / 1.042 GB, free: 8.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3193, allocations: 7.984 kB / 1.042 GB, free: 8.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3193, allocations: 4.062 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3193, allocations: 0 / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.3198, allocations: 301 kB / 1.042 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.3199, allocations: 100.8 kB / 1.042 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.32, allocations: 7.984 kB / 1.042 GB, free: 8.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3202, allocations: 15.98 kB / 1.042 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.3203, allocations: 15.92 kB / 1.042 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3203, allocations: 4 kB / 1.042 GB, free: 8.105 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3204, allocations: 117.3 kB / 1.042 GB, free: 7.992 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3204, allocations: 4 kB / 1.042 GB, free: 7.988 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005347/0.3209, allocations: 127.9 kB / 1.043 GB, free: 7.863 MB / 0.795 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.0005685/0.3215, allocations: 231 kB / 1.043 GB, free: 7.629 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005051/0.322, allocations: 185.5 kB / 1.043 GB, free: 7.449 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3221, allocations: 0 / 1.043 GB, free: 7.449 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3223, allocations: 92.02 kB / 1.043 GB, free: 7.359 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3227, allocations: 39.91 kB / 1.043 GB, free: 7.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.3235, allocations: 413.4 kB / 1.044 GB, free: 6.887 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3238, allocations: 0.7089 MB / 1.044 GB, free: 6.152 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.324, allocations: 26.44 kB / 1.044 GB, free: 6.133 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.3241, allocations: 31.42 kB / 1.044 GB, free: 6.102 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3241, allocations: 0 / 1.044 GB, free: 6.102 MB / 0.795 GB Notification: Performance of Templates: time 0.008331/0.3324, allocations: 4.126 MB / 1.048 GB, free: 2.047 MB / 0.795 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