Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005921/0.005921, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001433/0.001433, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 1.019 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3252, allocations: 151.6 MB / 1.167 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003274/0.3286, allocations: 2.026 MB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.331, allocations: 1.659 MB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.3311, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.107e-05/0.3312, allocations: 23.78 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.3313, allocations: 47.55 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3325, allocations: 362.8 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.3328, allocations: 227 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.3329, allocations: 45.45 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3331, allocations: 83.83 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3333, allocations: 91.67 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.3333, allocations: 16 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.3342, allocations: 415.5 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.3343, allocations: 39.89 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.3344, allocations: 83.66 kB / 1.172 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.335, allocations: 430.6 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.335, allocations: 0 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.335, allocations: 3.938 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3351, allocations: 0 / 1.172 GB, free: 1.344 MB / 0.92 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.0008651/0.3359, allocations: 0.5218 MB / 1.173 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.336, allocations: 8.031 kB / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.3366, allocations: 96.73 kB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3367, allocations: 180.2 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.3368, allocations: 46.2 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.3369, allocations: 20.38 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.3373, allocations: 183.2 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3373, allocations: 7.938 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3373, allocations: 4 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3374, allocations: 4 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.3379, allocations: 179.9 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.3392, allocations: 0.9265 MB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.3398, allocations: 166.5 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.34, allocations: 84.81 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006516/0.3407, allocations: 0.5181 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3407, allocations: 30.56 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.3407, allocations: 7.984 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007245/0.3414, allocations: 241.7 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3415, allocations: 51.41 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3416, allocations: 160.3 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3417, allocations: 29.7 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.3418, allocations: 119.9 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.3418, allocations: 47.56 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.3419, allocations: 49.66 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.342, allocations: 318.8 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3422, allocations: 79.95 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.3425, allocations: 89.67 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.3429, allocations: 147.7 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3429, allocations: 3.938 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005191/0.3434, allocations: 219.7 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3434, allocations: 4 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3434, allocations: 0 / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3435, allocations: 0 / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3437, allocations: 43.94 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3437, allocations: 4 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.3439, allocations: 27.81 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3439, allocations: 4 kB / 1.176 GB, free: 12.35 MB / 0.9356 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.0001151/0.3441, allocations: 137.7 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3441, allocations: 11.91 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.3447, allocations: 205.9 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3447, allocations: 0 / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3447, allocations: 0 / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3447, allocations: 0 / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3462, allocations: 0.9856 MB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3462, allocations: 0 / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3464, allocations: 27.98 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3464, allocations: 64 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3465, allocations: 11.98 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3465, allocations: 0 / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3465, allocations: 0 / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.347, allocations: 301 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3471, allocations: 89.02 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3471, allocations: 4 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.3473, allocations: 15.97 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.3474, allocations: 15.92 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3474, allocations: 4 kB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.3475, allocations: 121.1 kB / 1.178 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3475, allocations: 0 / 1.178 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004643/0.348, allocations: 131.5 kB / 1.178 GB, free: 10.11 MB / 0.9356 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.0004401/0.3484, allocations: 230.7 kB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005133/0.3489, allocations: 171.9 kB / 1.179 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.349, allocations: 3.938 kB / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3492, allocations: 83.89 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3496, allocations: 44.17 kB / 1.179 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.3503, allocations: 320.4 kB / 1.179 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3506, allocations: 0.7086 MB / 1.18 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.3507, allocations: 28.67 kB / 1.18 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.3508, allocations: 23.42 kB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.3508, allocations: 0 / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.008299/0.3591, allocations: 4.281 MB / 1.184 GB, free: 4.215 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches