Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001135/0.001135, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 70.25 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.37, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003436/0.3734, allocations: 2.098 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3759, allocations: 1.745 MB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.376, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.014e-05/0.3761, allocations: 15.86 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.3762, allocations: 39.67 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.3771, allocations: 303.1 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.3773, allocations: 211.1 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3775, allocations: 37.39 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3776, allocations: 75.77 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3778, allocations: 83.73 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3778, allocations: 12 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008025/0.3786, allocations: 395.5 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.3787, allocations: 35.84 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.322e-05/0.3788, allocations: 83.66 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.3794, allocations: 419.2 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3794, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3794, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3794, allocations: 3.938 kB / 1.057 GB, free: 3.312 MB / 0.8106 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.0008675/0.3803, allocations: 0.5109 MB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3803, allocations: 8.031 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006073/0.3809, allocations: 96.64 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3811, allocations: 184.1 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.3812, allocations: 46.25 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3812, allocations: 12.38 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.3817, allocations: 191 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3817, allocations: 7.938 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.3817, allocations: 8 kB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3818, allocations: 4 kB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3822, allocations: 183.8 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3836, allocations: 0.9072 MB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.3841, allocations: 178.5 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3843, allocations: 84.81 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/0.3849, allocations: 0.5181 MB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.385, allocations: 38.61 kB / 1.06 GB, free: 16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.385, allocations: 7.938 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007255/0.3857, allocations: 236.9 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3858, allocations: 55.41 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.386, allocations: 157 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.386, allocations: 37.69 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.3861, allocations: 119.8 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.3861, allocations: 43.36 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.3862, allocations: 41.64 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3863, allocations: 318.8 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.3865, allocations: 79.95 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.3868, allocations: 90.88 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.3871, allocations: 150.9 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3871, allocations: 3.938 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004722/0.3876, allocations: 219.8 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3876, allocations: 8.031 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3877, allocations: 0 / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3877, allocations: 4 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3879, allocations: 35.97 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.388, allocations: 0 / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3881, allocations: 27.77 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.3882, allocations: 4 kB / 1.062 GB, free: 14.33 MB / 0.8262 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.0001206/0.3883, allocations: 133.7 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.3883, allocations: 15.91 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.3889, allocations: 190.4 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3889, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3889, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3889, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.3903, allocations: 0.9855 MB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3903, allocations: 4.062 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.3905, allocations: 27.98 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3905, allocations: 0 / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3905, allocations: 7.984 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3906, allocations: 0 / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3906, allocations: 0 / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.391, allocations: 300.9 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3911, allocations: 92.89 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.3911, allocations: 4 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.3914, allocations: 15.97 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.3914, allocations: 15.92 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3914, allocations: 8 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.344e-05/0.3915, allocations: 123.2 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3915, allocations: 0 / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000512/0.3921, allocations: 127.9 kB / 1.064 GB, free: 12.09 MB / 0.8262 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.0004991/0.3926, allocations: 227 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.3931, allocations: 175.8 kB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3931, allocations: 0 / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.3933, allocations: 84.08 kB / 1.064 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.3938, allocations: 39.98 kB / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.3946, allocations: 378.1 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3949, allocations: 0.705 MB / 1.065 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.395, allocations: 35.61 kB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.3951, allocations: 23.42 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3951, allocations: 0 / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.007874/0.403, allocations: 4.133 MB / 1.07 GB, free: 6.293 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches