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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_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.00166/0.00166, allocations: 108 kB / 15.6 MB, free: 132 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.001887/0.001887, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.265/2.265, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.6908, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00281/0.6937, allocations: 2.016 MB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.6957, allocations: 1.661 MB / 0.9533 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.6958, allocations: 2.188 kB / 0.9533 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.725e-05/0.6959, allocations: 22.53 kB / 0.9533 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/0.696, allocations: 48.92 kB / 0.9534 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008502/0.6969, allocations: 362.5 kB / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.6971, allocations: 214.2 kB / 0.9539 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.6972, allocations: 61.05 kB / 0.954 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.6973, allocations: 80.55 kB / 0.9541 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.6975, allocations: 84.94 kB / 0.9541 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.6975, allocations: 17.78 kB / 0.9542 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007405/0.6983, allocations: 404.7 kB / 0.9545 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.6983, allocations: 37.78 kB / 0.9546 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.6984, allocations: 85.84 kB / 0.9547 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.699, allocations: 429.5 kB / 0.9551 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.699, allocations: 4 kB / 0.9551 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.699, allocations: 0 / 0.9551 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.699, allocations: 1.562 kB / 0.9551 GB, free: 5.078 MB / 0.7169 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.0007205/0.6997, allocations: 0.5139 MB / 0.9556 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6998, allocations: 9.219 kB / 0.9556 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.6998, allocations: 52.42 kB / 0.9556 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.7004, allocations: 93.52 kB / 0.9557 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.7005, allocations: 177.9 kB / 0.9559 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/0.7006, allocations: 56.59 kB / 0.956 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.7006, allocations: 15.41 kB / 0.956 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.701, allocations: 186.2 kB / 0.9561 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.701, allocations: 1.531 kB / 0.9561 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.701, allocations: 5.656 kB / 0.9562 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.701, allocations: 3.188 kB / 0.9562 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.7015, allocations: 188.3 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.7026, allocations: 0.916 MB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.7031, allocations: 172.1 kB / 0.9574 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.7033, allocations: 76.67 kB / 0.9575 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.7038, allocations: 0.5241 MB / 0.958 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.7038, allocations: 35.91 kB / 0.958 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.7038, allocations: 0 / 0.958 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006833/0.7045, allocations: 233.4 kB / 0.9582 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.7046, allocations: 59.34 kB / 0.9583 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.7047, allocations: 161.2 kB / 0.9584 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.7047, allocations: 27.14 kB / 0.9585 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.7048, allocations: 121.7 kB / 0.9586 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.7048, allocations: 48.11 kB / 0.9586 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.7049, allocations: 35.11 kB / 0.9587 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.7049, allocations: 330.1 kB / 0.959 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.7051, allocations: 71.78 kB / 0.9591 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.7054, allocations: 96.27 kB / 0.9591 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.7057, allocations: 148.4 kB / 0.9593 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7057, allocations: 0 / 0.9593 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004679/0.7062, allocations: 213.1 kB / 0.9595 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.7062, allocations: 5.5 kB / 0.9595 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7063, allocations: 1.375 kB / 0.9595 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7063, allocations: 1.375 kB / 0.9595 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.7065, allocations: 43.06 kB / 0.9595 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7065, allocations: 1.25 kB / 0.9595 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.7067, allocations: 28.89 kB / 0.9596 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.7067, allocations: 12.23 kB / 0.9596 GB, free: 1.105 MB / 0.7169 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 8.331e-05/0.7068, allocations: 124.4 kB / 0.9597 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.7069, allocations: 15.31 kB / 0.9597 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.7074, allocations: 205 kB / 0.9599 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7074, allocations: 2.25 kB / 0.9599 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7074, allocations: 0 / 0.9599 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7074, allocations: 1.031 kB / 0.9599 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.7087, allocations: 0.9811 MB / 0.9609 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7087, allocations: 0.75 kB / 0.9609 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.709, allocations: 38.12 kB / 0.9609 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.709, allocations: 1.156 kB / 0.9609 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.709, allocations: 6.219 kB / 0.9609 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.709, allocations: 0.7188 kB / 0.9609 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.709, allocations: 5.031 kB / 0.9609 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.7095, allocations: 291 kB / 0.9612 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.7096, allocations: 92.62 kB / 0.9613 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.7097, allocations: 1.75 kB / 0.9613 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.7099, allocations: 23.45 kB / 0.9613 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.7099, allocations: 17 kB / 0.9613 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.71, allocations: 5.125 kB / 0.9613 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000106/0.7101, allocations: 122.8 kB / 0.9614 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7101, allocations: 0 / 0.9614 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004964/0.7106, allocations: 130.4 kB / 0.9616 GB, free: 15.33 MB / 0.7325 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.001097/0.7117, allocations: 0.9451 MB / 0.9625 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.7122, allocations: 183.2 kB / 0.9627 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7122, allocations: 0 / 0.9627 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.7125, allocations: 88.83 kB / 0.9628 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.7129, allocations: 40.16 kB / 0.9628 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.7158, allocations: 2.052 MB / 0.9648 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.7161, allocations: 0.7135 MB / 0.9655 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.7163, allocations: 28.98 kB / 0.9655 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.7164, allocations: 42.36 kB / 0.9656 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.7164, allocations: 0 / 0.9656 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2277/0.9442, allocations: 5.983 MB / 0.9714 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.983, allocations: 13.41 kB / 0.9714 GB, free: 8.922 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > 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/jenkins1/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