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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003062/0.003062, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00333/0.00333, allocations: 195.5 kB / 16.67 MB, free: 6.582 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.583/2.583, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 75.83 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2579, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002762/0.2607, allocations: 2.035 MB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2629, allocations: 1.663 MB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.2629, allocations: 0 / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.875e-05/0.263, allocations: 19.8 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.2631, allocations: 47.55 kB / 1.246 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.2638, allocations: 354.8 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.2641, allocations: 227.1 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2642, allocations: 53.47 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.2643, allocations: 75.78 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2644, allocations: 87.72 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.2645, allocations: 20 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006704/0.2651, allocations: 407.5 kB / 1.247 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.2652, allocations: 47.81 kB / 1.247 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.2653, allocations: 91.59 kB / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.2658, allocations: 430.6 kB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2658, allocations: 4 kB / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2658, allocations: 0 / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2658, allocations: 0 / 1.247 GB, free: 4.262 MB / 0.9981 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.000756/0.2666, allocations: 0.5217 MB / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2666, allocations: 12.03 kB / 1.248 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.2667, allocations: 50.73 kB / 1.248 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005176/0.2672, allocations: 88.75 kB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2673, allocations: 184.1 kB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/0.2674, allocations: 54.25 kB / 1.248 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.2674, allocations: 12.38 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.2678, allocations: 181.8 kB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2678, allocations: 0 / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.2678, allocations: 8 kB / 1.248 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2679, allocations: 4 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.2683, allocations: 175.9 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2695, allocations: 0.9307 MB / 1.249 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.27, allocations: 166.6 kB / 1.25 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.2702, allocations: 76.83 kB / 1.25 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/0.2708, allocations: 0.522 MB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2709, allocations: 38.56 kB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 2.965e-06/0.2709, allocations: 0 / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006422/0.2715, allocations: 241.4 kB / 1.25 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2716, allocations: 51.41 kB / 1.25 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2717, allocations: 160.7 kB / 1.251 GB, free: 436 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.2717, allocations: 29.7 kB / 1.251 GB, free: 400 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2718, allocations: 127.9 kB / 1.251 GB, free: 268 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.2718, allocations: 43.58 kB / 1.251 GB, free: 224 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.2719, allocations: 41.66 kB / 1.251 GB, free: 176 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.4274/0.6994, allocations: 323.3 kB / 1.251 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.6996, allocations: 73.61 kB / 1.251 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.6998, allocations: 94.94 kB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.7002, allocations: 149 kB / 1.251 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7002, allocations: 0 / 1.251 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004627/0.7007, allocations: 213.7 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.7007, allocations: 7.688 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.7007, allocations: 0 / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7007, allocations: 5.312 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.701, allocations: 41.11 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.701, allocations: 4.656 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.7011, allocations: 22.22 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.7012, allocations: 8.656 kB / 1.252 GB, free: 14.5 MB / 0.9981 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 7.955e-05/0.7013, allocations: 129 kB / 1.252 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.7013, allocations: 15.61 kB / 1.252 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.7018, allocations: 194.3 kB / 1.252 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7018, allocations: 1.594 kB / 1.252 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7018, allocations: 4.531 kB / 1.252 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7018, allocations: 1.562 kB / 1.252 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.7029, allocations: 0.9805 MB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7029, allocations: 1.297 kB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.7031, allocations: 37.52 kB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.7031, allocations: 5.094 kB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.7031, allocations: 6.219 kB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7031, allocations: 1.594 kB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7032, allocations: 5 kB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.7036, allocations: 290.5 kB / 1.253 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.7036, allocations: 96.83 kB / 1.253 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.7036, allocations: 5.719 kB / 1.253 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.7038, allocations: 15.95 kB / 1.253 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.7039, allocations: 12.62 kB / 1.253 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.7039, allocations: 5.516 kB / 1.253 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.7039, allocations: 121.6 kB / 1.254 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.704, allocations: 4.219 kB / 1.254 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003816/0.7043, allocations: 125.3 kB / 1.254 GB, free: 13.24 MB / 0.9981 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.0007854/0.7051, allocations: 0.9547 MB / 1.255 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.7056, allocations: 173.6 kB / 1.255 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7056, allocations: 0 / 1.255 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.7058, allocations: 83.08 kB / 1.255 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.7061, allocations: 46.91 kB / 1.255 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.7083, allocations: 2.061 MB / 1.257 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.7084, allocations: 0.7111 MB / 1.258 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.7085, allocations: 27.47 kB / 1.258 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.7086, allocations: 47.23 kB / 1.258 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.7086, allocations: 0 / 1.258 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.245/5.954, allocations: 6.062 MB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.46/26.42, allocations: 6.969 kB / 1.264 GB, free: 9.621 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > 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/jenkins1/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