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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007936/0.007935, allocations: 101.2 kB / 15.88 MB, free: 6.328 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.001858/0.001858, allocations: 195.6 kB / 16.79 MB, free: 6.254 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 75.88 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.7443, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003928/0.7483, allocations: 2.088 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.7512, allocations: 1.742 MB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.7514, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.129e-05/0.7515, allocations: 19.84 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.7517, allocations: 43.67 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.7529, allocations: 291.2 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.7532, allocations: 215.1 kB / 1.022 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.7533, allocations: 45.45 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.7535, allocations: 79.77 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.7537, allocations: 79.69 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.7537, allocations: 12 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008756/0.7546, allocations: 383.5 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.7547, allocations: 43.89 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.7548, allocations: 83.64 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.7553, allocations: 305.3 kB / 1.023 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7553, allocations: 4 kB / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7553, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.7554, allocations: 3.938 kB / 1.023 GB, free: 13.33 MB / 0.7794 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.0009553/0.7563, allocations: 0.5225 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7564, allocations: 8.031 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.757, allocations: 88.64 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.7571, allocations: 184.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.7573, allocations: 46.27 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.7573, allocations: 16.31 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.7578, allocations: 182.1 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.7578, allocations: 3.938 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.7578, allocations: 8 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.7578, allocations: 4 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.7583, allocations: 180.9 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.7598, allocations: 0.915 MB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.7603, allocations: 178.4 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.7605, allocations: 84.81 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/0.7612, allocations: 0.5181 MB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.7612, allocations: 30.56 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.7612, allocations: 4 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007369/0.762, allocations: 237.7 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.762, allocations: 55.41 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.7622, allocations: 164.4 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.7622, allocations: 29.7 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.7623, allocations: 119.8 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.7624, allocations: 47.3 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.7625, allocations: 41.7 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7626, allocations: 322.8 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.7628, allocations: 71.95 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.763, allocations: 93.67 kB / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.7634, allocations: 157 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.7634, allocations: 3.938 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005096/0.764, allocations: 213.4 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.764, allocations: 4 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.764, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.764, allocations: 4 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.7643, allocations: 39.91 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.7643, allocations: 8.031 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.7645, allocations: 23.83 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.7645, allocations: 7.938 kB / 1.027 GB, free: 8.344 MB / 0.7794 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.0001232/0.7647, allocations: 130.2 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.7647, allocations: 7.906 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.7652, allocations: 198.4 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7653, allocations: 4 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7653, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7653, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.7668, allocations: 0.9855 MB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7668, allocations: 3.938 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.767, allocations: 31.98 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7671, allocations: 0 / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.7671, allocations: 12.05 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7671, allocations: 0 / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7671, allocations: 0 / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.7676, allocations: 288.9 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.7677, allocations: 89.02 kB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.7677, allocations: 4 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.768, allocations: 19.97 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.768, allocations: 11.92 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.768, allocations: 8 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.814e-05/0.7681, allocations: 124.8 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7681, allocations: 0 / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004923/0.7686, allocations: 123.9 kB / 1.029 GB, free: 6.113 MB / 0.7794 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.0005265/0.7692, allocations: 227 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.7697, allocations: 179.8 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7697, allocations: 3.938 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.7699, allocations: 83.89 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.7704, allocations: 40.17 kB / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.7712, allocations: 408.9 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.7715, allocations: 0.7128 MB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.7716, allocations: 27.36 kB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7716, allocations: 0 / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.007147/0.7788, allocations: 3.844 MB / 1.034 GB, free: 0.5742 MB / 0.7794 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/jenkins1/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