Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 105 kB / 16.27 MB, free: 6.41 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.001752/0.001753, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.525/1.525, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.164/2.164, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 68.39 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3157, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003445/0.3192, allocations: 2.033 MB / 0.9523 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.3216, allocations: 1.652 MB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.3217, allocations: 4 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.398e-05/0.3218, allocations: 19.78 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3219, allocations: 51.55 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.323, allocations: 358.8 kB / 0.9543 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.3232, allocations: 227 kB / 0.9545 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3234, allocations: 53.22 kB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3235, allocations: 79.84 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.3237, allocations: 87.66 kB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.3237, allocations: 16 kB / 0.9547 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008159/0.3245, allocations: 403.5 kB / 0.9551 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.3246, allocations: 39.91 kB / 0.9551 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.3247, allocations: 91.64 kB / 0.9552 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.3253, allocations: 427.2 kB / 0.9556 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3253, allocations: 0 / 0.9556 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3253, allocations: 0 / 0.9556 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.3254, allocations: 0 / 0.9556 GB, free: 3.344 MB / 0.7325 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.0009022/0.3263, allocations: 0.5148 MB / 0.9561 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3263, allocations: 8.031 kB / 0.9562 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005935/0.3269, allocations: 92.64 kB / 0.9562 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3271, allocations: 184.1 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.3272, allocations: 50.19 kB / 0.9565 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3272, allocations: 12.38 kB / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.3276, allocations: 190 kB / 0.9567 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3276, allocations: 3.938 kB / 0.9567 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3277, allocations: 8 kB / 0.9567 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3277, allocations: 4 kB / 0.9567 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.3282, allocations: 179.8 kB / 0.9568 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.3296, allocations: 0.9073 MB / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.3301, allocations: 174.5 kB / 0.9579 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.3303, allocations: 84.81 kB / 0.958 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.331, allocations: 0.5181 MB / 0.9585 GB, free: 84 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.331, allocations: 34.56 kB / 0.9585 GB, free: 40 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.331, allocations: 0 / 0.9585 GB, free: 40 kB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0007216/0.3318, allocations: 237.7 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3318, allocations: 55.41 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.332, allocations: 160 kB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.332, allocations: 37.69 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.3321, allocations: 111.8 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.3321, allocations: 51.36 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.3322, allocations: 37.7 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3323, allocations: 322.8 kB / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3325, allocations: 71.95 kB / 0.9596 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3327, allocations: 93.67 kB / 0.9596 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.3331, allocations: 149 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3331, allocations: 3.938 kB / 0.9598 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004807/0.3336, allocations: 213.5 kB / 0.96 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3336, allocations: 4 kB / 0.96 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3336, allocations: 0 / 0.96 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3337, allocations: 8.031 kB / 0.96 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3339, allocations: 39.91 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3339, allocations: 0 / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3341, allocations: 31.67 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3342, allocations: 7.938 kB / 0.9601 GB, free: 14.37 MB / 0.7481 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.0001143/0.3343, allocations: 129.7 kB / 0.9602 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3343, allocations: 15.91 kB / 0.9602 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.3348, allocations: 210.2 kB / 0.9604 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3349, allocations: 0 / 0.9604 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3349, allocations: 0 / 0.9604 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3349, allocations: 0 / 0.9604 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.3363, allocations: 0.9778 MB / 0.9614 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3363, allocations: 0 / 0.9614 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3365, allocations: 36.05 kB / 0.9614 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3365, allocations: 0 / 0.9614 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3365, allocations: 7.984 kB / 0.9614 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3365, allocations: 0 / 0.9614 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3366, allocations: 0 / 0.9614 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.337, allocations: 300.8 kB / 0.9617 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.3371, allocations: 88.95 kB / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.3371, allocations: 4 kB / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3374, allocations: 15.97 kB / 0.9618 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3374, allocations: 11.92 kB / 0.9618 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3374, allocations: 8 kB / 0.9618 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.248e-05/0.3375, allocations: 130.1 kB / 0.962 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3375, allocations: 4 kB / 0.962 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004759/0.338, allocations: 127.9 kB / 0.9621 GB, free: 12.12 MB / 0.7481 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.0004538/0.3385, allocations: 223 kB / 0.9623 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.339, allocations: 183.8 kB / 0.9625 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.339, allocations: 0 / 0.9625 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3392, allocations: 83.89 kB / 0.9625 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.3396, allocations: 40.17 kB / 0.9626 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.3404, allocations: 354.4 kB / 0.9629 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3407, allocations: 0.7086 MB / 0.9636 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.3408, allocations: 23.42 kB / 0.9636 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.3408, allocations: 0 / 0.9636 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of Templates: time 0.006123/0.3469, allocations: 3.863 MB / 0.9674 GB, free: 6.617 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches