Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_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.004299/0.004304, allocations: 99.56 kB / 15.73 MB, free: 6.039 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.001258/0.001258, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 64.12 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2553, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002806/0.2581, allocations: 2.045 MB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2603, allocations: 1.651 MB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.2604, allocations: 4 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.2604, allocations: 23.78 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.2605, allocations: 51.55 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.2613, allocations: 358.8 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.2616, allocations: 211.2 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2617, allocations: 49.45 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.2618, allocations: 91.7 kB / 1.225 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2619, allocations: 87.73 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.262, allocations: 16 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.2627, allocations: 411.5 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.2627, allocations: 47.83 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.2628, allocations: 83.66 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.2634, allocations: 430.7 kB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2634, allocations: 0 / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2634, allocations: 0 / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2634, allocations: 4 kB / 1.226 GB, free: 8.746 MB / 0.9825 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.0007453/0.2641, allocations: 0.5256 MB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.2642, allocations: 8.031 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.212e-05/0.2642, allocations: 50.73 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.2648, allocations: 92.73 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2649, allocations: 176.2 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.265, allocations: 50.19 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.265, allocations: 16.38 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.2654, allocations: 194.6 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2654, allocations: 0 / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.2654, allocations: 4 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2654, allocations: 4 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.2659, allocations: 175.9 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.2671, allocations: 0.9229 MB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.2676, allocations: 174.5 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.2678, allocations: 84.81 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006201/0.2685, allocations: 0.5103 MB / 1.228 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.2685, allocations: 38.55 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2685, allocations: 0 / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0006572/0.2692, allocations: 237.8 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2692, allocations: 55.41 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2694, allocations: 160.6 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2694, allocations: 33.7 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.2695, allocations: 119.9 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.2695, allocations: 59.52 kB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.2696, allocations: 37.7 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2697, allocations: 318.8 kB / 1.229 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.2699, allocations: 79.95 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.2701, allocations: 89.67 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.2705, allocations: 151.4 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2705, allocations: 0 / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004824/0.271, allocations: 215.4 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.271, allocations: 7.984 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.271, allocations: 0 / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2711, allocations: 8.031 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.2713, allocations: 43.89 kB / 1.23 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2713, allocations: 3.984 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.2715, allocations: 23.88 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2715, allocations: 4 kB / 1.23 GB, free: 3.691 MB / 0.9825 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.0001107/0.2716, allocations: 134.2 kB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.2717, allocations: 15.91 kB / 1.23 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.2722, allocations: 198.4 kB / 1.23 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2722, allocations: 0 / 1.23 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2722, allocations: 0 / 1.23 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2722, allocations: 0 / 1.23 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.2736, allocations: 0.9933 MB / 1.231 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2736, allocations: 0 / 1.231 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.2738, allocations: 32.05 kB / 1.231 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2738, allocations: 0 / 1.231 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2738, allocations: 4 kB / 1.231 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2738, allocations: 3.984 kB / 1.231 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2738, allocations: 0 / 1.231 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.2743, allocations: 296.9 kB / 1.232 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.2744, allocations: 89.02 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.2744, allocations: 4 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.2746, allocations: 15.92 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.2746, allocations: 15.92 kB / 1.232 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2747, allocations: 7.984 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.2748, allocations: 123.2 kB / 1.232 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2748, allocations: 0 / 1.232 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003926/0.2752, allocations: 127.6 kB / 1.232 GB, free: 1.441 MB / 0.9825 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.001036/0.2762, allocations: 0.9478 MB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004528/0.2767, allocations: 179.9 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2767, allocations: 0 / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.2769, allocations: 83.89 kB / 1.233 GB, free: 208 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.2772, allocations: 44.44 kB / 1.233 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2799, allocations: 2.067 MB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2802, allocations: 0.7086 MB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.2803, allocations: 29.05 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.2804, allocations: 43.42 kB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2804, allocations: 0 / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.961/3.241, allocations: 6.063 MB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.26/23.5, allocations: 320 / 1.242 GB, free: 7.316 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches