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.001219/0.001219, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001176/0.001176, allocations: 198.9 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.496/2.496, allocations: 437 MB / 0.7107 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.5 kB / 0.8694 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3236, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003203/0.3268, allocations: 2.092 MB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3291, allocations: 1.66 MB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.3292, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.505e-05/0.3293, allocations: 11.92 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.51e-05/0.3294, allocations: 43.61 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.3303, allocations: 319.2 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3305, allocations: 219.2 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3306, allocations: 53.39 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.3307, allocations: 87.64 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3308, allocations: 83.73 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.3309, allocations: 24 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.3315, allocations: 407.5 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.3316, allocations: 47.83 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.3317, allocations: 87.66 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.3321, allocations: 315.6 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3321, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3321, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3321, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 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.0007669/0.3329, allocations: 0.5148 MB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3329, allocations: 12.92 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/0.3335, allocations: 88.64 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3336, allocations: 184.1 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.3337, allocations: 46.25 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3337, allocations: 16.38 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.3341, allocations: 183.3 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3341, allocations: 7.938 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3342, allocations: 4 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3342, allocations: 4 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.3346, allocations: 183.7 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3358, allocations: 0.9073 MB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.3363, allocations: 174.5 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3365, allocations: 80.83 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/0.3371, allocations: 0.5181 MB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3371, allocations: 38.48 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.3371, allocations: 4 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0006288/0.3378, allocations: 232.8 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3378, allocations: 51.41 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3379, allocations: 168.8 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.338, allocations: 29.7 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.3381, allocations: 123.8 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3381, allocations: 47.34 kB / 1.026 GB, free: 1.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.3382, allocations: 37.7 kB / 1.026 GB, free: 1.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3383, allocations: 326.8 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3385, allocations: 67.97 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3387, allocations: 97.66 kB / 1.027 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.339, allocations: 154.9 kB / 1.027 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3391, allocations: 3.938 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000465/0.3395, allocations: 211.1 kB / 1.027 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3395, allocations: 8.031 kB / 1.027 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3396, allocations: 4 kB / 1.027 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3396, allocations: 3.984 kB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.3398, allocations: 35.92 kB / 1.027 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3398, allocations: 3.984 kB / 1.027 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.34, allocations: 31.77 kB / 1.027 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3401, allocations: 4 kB / 1.027 GB, free: 0.5195 MB / 0.795 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.0001101/0.3402, allocations: 128.2 kB / 1.027 GB, free: 396 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.3402, allocations: 15.91 kB / 1.027 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.3407, allocations: 202.4 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3407, allocations: 4 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3407, allocations: 0 / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.3407, allocations: 0 / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.3421, allocations: 0.9739 MB / 1.028 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3421, allocations: 4.062 kB / 1.028 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.3423, allocations: 31.97 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3423, allocations: 4 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3423, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3423, allocations: 7.938 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3423, allocations: 3.984 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.3428, allocations: 289 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3429, allocations: 88.95 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3429, allocations: 8 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3431, allocations: 11.98 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3432, allocations: 11.92 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3432, allocations: 15.98 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.082e-05/0.3433, allocations: 125 kB / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3433, allocations: 0 / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004232/0.3437, allocations: 123.9 kB / 1.029 GB, free: 14.29 MB / 0.8106 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.0004406/0.3442, allocations: 227 kB / 1.029 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.3447, allocations: 186.2 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3447, allocations: 4 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.3449, allocations: 84.08 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3453, allocations: 47.91 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.346, allocations: 402.4 kB / 1.03 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3462, allocations: 0.7047 MB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.3463, allocations: 23.42 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3463, allocations: 3.938 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of Templates: time 0.005649/0.352, allocations: 3.862 MB / 1.035 GB, free: 8.73 MB / 0.8106 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