Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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,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") 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_11_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.0016/0.001608, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.001527/0.001527, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.636/2.636, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 66.73 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003508/0.339, allocations: 2.082 MB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.3416, allocations: 1.651 MB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.3417, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.997e-05/0.3418, allocations: 15.91 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.342, allocations: 47.61 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.343, allocations: 319.2 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.3432, allocations: 211.2 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3434, allocations: 61.44 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3435, allocations: 79.72 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.3437, allocations: 87.72 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.3438, allocations: 20 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/0.3445, allocations: 419.4 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.3446, allocations: 43.91 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.3447, allocations: 91.64 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.3451, allocations: 311.6 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3452, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3452, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.3452, allocations: 4 kB / 1.069 GB, free: 9.668 MB / 0.8419 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.0008716/0.3461, allocations: 0.5225 MB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.3461, allocations: 8.031 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.3467, allocations: 80.75 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3469, allocations: 196.1 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.347, allocations: 46.25 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.347, allocations: 16.38 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.3474, allocations: 179.8 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3475, allocations: 3.938 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.3475, allocations: 8 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3475, allocations: 4 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.348, allocations: 183.8 kB / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.3495, allocations: 0.8995 MB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.35, allocations: 182.4 kB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3502, allocations: 76.83 kB / 1.072 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/0.3509, allocations: 0.522 MB / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3509, allocations: 30.56 kB / 1.072 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.3509, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007395/0.3517, allocations: 245.7 kB / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3517, allocations: 51.41 kB / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3519, allocations: 160.5 kB / 1.073 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3519, allocations: 29.7 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.352, allocations: 123.7 kB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.3521, allocations: 39.36 kB / 1.073 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.3522, allocations: 37.7 kB / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3523, allocations: 326.8 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3526, allocations: 75.95 kB / 1.073 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.3528, allocations: 95.73 kB / 1.073 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.3532, allocations: 151 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3532, allocations: 3.938 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004921/0.3537, allocations: 211.4 kB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3537, allocations: 8 kB / 1.074 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3537, allocations: 0 / 1.074 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3537, allocations: 0 / 1.074 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.354, allocations: 39.91 kB / 1.074 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.354, allocations: 8.031 kB / 1.074 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3542, allocations: 27.77 kB / 1.074 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.3542, allocations: 4 kB / 1.074 GB, free: 4.707 MB / 0.8419 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.0001276/0.3544, allocations: 139.9 kB / 1.074 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.3544, allocations: 11.91 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.355, allocations: 202.3 kB / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.355, allocations: 4 kB / 1.074 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.355, allocations: 0 / 1.074 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.355, allocations: 3.984 kB / 1.074 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.3565, allocations: 0.9817 MB / 1.075 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3565, allocations: 0 / 1.075 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.3567, allocations: 39.91 kB / 1.075 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3568, allocations: 0 / 1.075 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3568, allocations: 0 / 1.075 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3568, allocations: 8.062 kB / 1.075 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3568, allocations: 0 / 1.075 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.3573, allocations: 292.6 kB / 1.075 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.3574, allocations: 92.94 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.3574, allocations: 12 kB / 1.076 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.3577, allocations: 11.98 kB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3577, allocations: 19.86 kB / 1.076 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3577, allocations: 4 kB / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.771e-05/0.3578, allocations: 122.3 kB / 1.076 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.104e-06/0.3578, allocations: 0 / 1.076 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004715/0.3583, allocations: 127.7 kB / 1.076 GB, free: 2.453 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.0004673/0.3588, allocations: 223.1 kB / 1.076 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.3593, allocations: 191.8 kB / 1.076 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3594, allocations: 0 / 1.076 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.3596, allocations: 79.91 kB / 1.076 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.3601, allocations: 49.62 kB / 1.076 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/0.3608, allocations: 386.4 kB / 1.077 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3612, allocations: 0.7164 MB / 1.077 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3613, allocations: 19.44 kB / 1.077 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3613, allocations: 7.875 kB / 1.077 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of Templates: time 0.5048/0.8661, allocations: 3.839 MB / 1.081 GB, free: 21.46 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches