Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001096/0.001097, 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.009628/0.009628, allocations: 169.9 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.633/1.633, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.102/3.102, allocations: 470.6 MB / 0.7441 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.000356, allocations: 8.781 kB / 0.9123 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3074, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002514/0.31, allocations: 1.741 MB / 1.072 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.3128, allocations: 1.718 MB / 1.073 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.3129, allocations: 4 kB / 1.073 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.313, allocations: 11.91 kB / 1.073 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3131, allocations: 51.61 kB / 1.073 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3142, allocations: 291.2 kB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.3144, allocations: 207.2 kB / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3146, allocations: 42.73 kB / 1.074 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3147, allocations: 75.72 kB / 1.074 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.3149, allocations: 75.73 kB / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3149, allocations: 8 kB / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.3158, allocations: 387.5 kB / 1.074 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.3158, allocations: 43.83 kB / 1.074 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3159, allocations: 101.4 kB / 1.075 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.3166, allocations: 419.2 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3166, allocations: 0 / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3166, allocations: 0 / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3166, allocations: 0 / 1.075 GB, free: 6.219 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.0008804/0.3175, allocations: 499.2 kB / 1.075 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3176, allocations: 8.031 kB / 1.075 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.3182, allocations: 96.66 kB / 1.075 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3184, allocations: 188.1 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.3185, allocations: 46.27 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3185, allocations: 16.31 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.319, allocations: 189.9 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.319, allocations: 7.938 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.3191, allocations: 8 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3191, allocations: 4 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.3196, allocations: 184.8 kB / 1.076 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3211, allocations: 0.9113 MB / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.3217, allocations: 190.5 kB / 1.077 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.322, allocations: 80.81 kB / 1.077 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.3227, allocations: 0.5181 MB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3227, allocations: 38.56 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3227, allocations: 0 / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007776/0.3235, allocations: 250.7 kB / 1.078 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3236, allocations: 55.41 kB / 1.078 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3237, allocations: 162.3 kB / 1.078 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3238, allocations: 37.7 kB / 1.078 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.3239, allocations: 111.8 kB / 1.078 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.3239, allocations: 51.34 kB / 1.078 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.324, allocations: 17.72 kB / 1.078 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3241, allocations: 330.8 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.3243, allocations: 75.97 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.3246, allocations: 102.9 kB / 1.079 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.325, allocations: 159.3 kB / 1.079 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3251, allocations: 3.938 kB / 1.079 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005381/0.3256, allocations: 211.1 kB / 1.079 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3256, allocations: 8 kB / 1.079 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3256, allocations: 4 kB / 1.079 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3257, allocations: 4.031 kB / 1.079 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.3259, allocations: 47.91 kB / 1.079 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3259, allocations: 0 / 1.079 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.3261, allocations: 27.77 kB / 1.079 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3262, allocations: 7.984 kB / 1.079 GB, free: 1.211 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.0001259/0.3263, allocations: 129.7 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3264, allocations: 19.81 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.3269, allocations: 199.3 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3269, allocations: 4 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3269, allocations: 4 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3269, allocations: 0 / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3286, allocations: 0.9856 MB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3286, allocations: 0 / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.3288, allocations: 35.91 kB / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3288, allocations: 3.938 kB / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3289, allocations: 4 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3289, allocations: 64 / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3289, allocations: 4 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.3295, allocations: 301.5 kB / 1.081 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.3295, allocations: 100.8 kB / 1.081 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.3296, allocations: 4 kB / 1.081 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3298, allocations: 19.97 kB / 1.081 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.3299, allocations: 15.92 kB / 1.081 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3299, allocations: 8 kB / 1.081 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001054/0.33, allocations: 117.9 kB / 1.081 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.33, allocations: 4 kB / 1.081 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004811/0.3305, allocations: 127.9 kB / 1.081 GB, free: 14.94 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.0004831/0.331, allocations: 227 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.3315, allocations: 180.4 kB / 1.082 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3315, allocations: 0 / 1.082 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.3318, allocations: 92.02 kB / 1.082 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.3322, allocations: 37.95 kB / 1.082 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.3331, allocations: 405.5 kB / 1.082 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3335, allocations: 0.7128 MB / 1.083 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.3336, allocations: 32.84 kB / 1.083 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.3337, allocations: 23.44 kB / 1.083 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.3337, allocations: 3.938 kB / 1.083 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.008967/0.3427, allocations: 4.133 MB / 1.087 GB, free: 9.094 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches