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.007548/0.007548, allocations: 96.89 kB / 15.73 MB, free: 6 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.001668/0.001668, allocations: 189 kB / 16.67 MB, free: 5.93 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.284/2.284, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 61.94 kB / 0.9508 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2482, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002982/0.2512, allocations: 2.021 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.2536, allocations: 1.663 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.2537, allocations: 4 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.161e-05/0.2538, allocations: 19.8 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.254, allocations: 51.55 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.255, allocations: 354.8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.2552, allocations: 219.2 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2553, allocations: 57.44 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.2554, allocations: 83.72 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2556, allocations: 95.66 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.2556, allocations: 19.94 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/0.2564, allocations: 407.6 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.2564, allocations: 51.81 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.2565, allocations: 83.66 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.2571, allocations: 430.6 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2571, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2571, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2571, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 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.0008072/0.2579, allocations: 0.5257 MB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.258, allocations: 8.031 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.2586, allocations: 96.73 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2587, allocations: 176.2 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.2588, allocations: 46.25 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.2588, allocations: 16.38 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.2593, allocations: 174.1 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2593, allocations: 3.938 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.2593, allocations: 8 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2593, allocations: 7.938 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.2598, allocations: 187.8 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.2612, allocations: 0.8996 MB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.2617, allocations: 178.5 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.2619, allocations: 76.83 kB / 1.096 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/0.2626, allocations: 0.5259 MB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2626, allocations: 30.56 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.2626, allocations: 0 / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0007442/0.2634, allocations: 243.8 kB / 1.096 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.2634, allocations: 55.41 kB / 1.096 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2636, allocations: 159.8 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2636, allocations: 29.7 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.2637, allocations: 119.9 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.2638, allocations: 51.52 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.2639, allocations: 37.7 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.264, allocations: 322.8 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.2642, allocations: 79.95 kB / 1.097 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.2645, allocations: 93.67 kB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.2649, allocations: 147.5 kB / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2649, allocations: 7.875 kB / 1.097 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005255/0.2654, allocations: 215.5 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2655, allocations: 9.719 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2655, allocations: 4 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2655, allocations: 3.984 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.2658, allocations: 39.91 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2658, allocations: 0 / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.266, allocations: 35.86 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.266, allocations: 7.984 kB / 1.098 GB, free: 6.969 MB / 0.8575 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.000123/0.2661, allocations: 125.8 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.2662, allocations: 11.95 kB / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.2668, allocations: 204.7 kB / 1.098 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2668, allocations: 4 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2668, allocations: 0 / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2668, allocations: 0 / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.2683, allocations: 0.9855 MB / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2683, allocations: 0 / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.2685, allocations: 31.91 kB / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2686, allocations: 4 kB / 1.099 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2686, allocations: 0 / 1.099 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2686, allocations: 4 kB / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2686, allocations: 0 / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.2691, allocations: 289.1 kB / 1.099 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.2692, allocations: 89.05 kB / 1.099 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.2692, allocations: 8 kB / 1.099 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2694, allocations: 15.98 kB / 1.099 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.2695, allocations: 19.86 kB / 1.1 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.2695, allocations: 4 kB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.03e-05/0.2696, allocations: 120.9 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2696, allocations: 0 / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004899/0.2701, allocations: 131.5 kB / 1.1 GB, free: 4.734 MB / 0.8575 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.0004614/0.2706, allocations: 230.7 kB / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.2711, allocations: 183.8 kB / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2711, allocations: 0 / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.2713, allocations: 79.91 kB / 1.1 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.2717, allocations: 56.08 kB / 1.1 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.2724, allocations: 312.5 kB / 1.101 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2727, allocations: 0.7125 MB / 1.101 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000144/0.2728, allocations: 33.36 kB / 1.101 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.2729, allocations: 15.44 kB / 1.101 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.2729, allocations: 0 / 1.101 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of Templates: time 0.008575/0.2815, allocations: 4.292 MB / 1.106 GB, free: 14.82 MB / 0.8731 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/jenkins/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