Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008797/0.008797, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.447/1.447, allocations: 223.2 MB / 240.3 MB, free: 5.348 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.376/2.376, allocations: 390.9 MB / 0.6663 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004809, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6795, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00204/0.6816, allocations: 1.735 MB / 0.9567 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.6839, allocations: 1.703 MB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.6841, allocations: 5.5 kB / 0.9584 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.6841, allocations: 9.109 kB / 0.9584 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.6843, allocations: 46.52 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.6852, allocations: 291.2 kB / 0.9587 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.6855, allocations: 221.4 kB / 0.9589 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.6856, allocations: 39.67 kB / 0.959 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.6858, allocations: 75.05 kB / 0.9591 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.6859, allocations: 80.2 kB / 0.9591 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.686, allocations: 10.41 kB / 0.9591 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007994/0.6868, allocations: 391.1 kB / 0.9595 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.6868, allocations: 30.78 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.6869, allocations: 103.6 kB / 0.9596 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.6875, allocations: 421.7 kB / 0.96 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6875, allocations: 0 / 0.96 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6876, allocations: 0 / 0.96 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6876, allocations: 1.375 kB / 0.96 GB, free: 3.926 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.000732/0.6883, allocations: 0.4893 MB / 0.9605 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6884, allocations: 10.09 kB / 0.9605 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.689, allocations: 101.2 kB / 0.9606 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.6891, allocations: 176.5 kB / 0.9608 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.6892, allocations: 51.09 kB / 0.9608 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.6892, allocations: 17.38 kB / 0.9609 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.6896, allocations: 186.8 kB / 0.961 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6897, allocations: 3.938 kB / 0.961 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.6897, allocations: 6.062 kB / 0.9611 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6897, allocations: 3.656 kB / 0.9611 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.6902, allocations: 193.9 kB / 0.9612 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.6914, allocations: 0.9138 MB / 0.9621 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.6919, allocations: 182.4 kB / 0.9623 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.6921, allocations: 92.59 kB / 0.9624 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/0.6926, allocations: 0.5207 MB / 0.9629 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.6927, allocations: 36.25 kB / 0.9629 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.6927, allocations: 0 / 0.9629 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006993/0.6934, allocations: 250.6 kB / 0.9632 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.6934, allocations: 53.66 kB / 0.9632 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.6935, allocations: 159.9 kB / 0.9634 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6935, allocations: 30.92 kB / 0.9634 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.6936, allocations: 114.6 kB / 0.9635 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.6936, allocations: 49.14 kB / 0.9636 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.6937, allocations: 22.64 kB / 0.9636 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.6937, allocations: 325.3 kB / 0.9639 GB, free: 384 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.6939, allocations: 84.58 kB / 0.964 GB, free: 340 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.6942, allocations: 95.48 kB / 0.9641 GB, free: 284 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.6946, allocations: 159.9 kB / 0.9642 GB, free: 196 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6946, allocations: 3.938 kB / 0.9642 GB, free: 192 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004857/0.6951, allocations: 229.1 kB / 0.9644 GB, free: 64 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6951, allocations: 5.375 kB / 0.9645 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6951, allocations: 0 / 0.9645 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6951, allocations: 2.031 kB / 0.9645 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.6954, allocations: 42.16 kB / 0.9645 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6954, allocations: 5.25 kB / 0.9645 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.6956, allocations: 25.86 kB / 0.9645 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.6956, allocations: 8.75 kB / 0.9645 GB, free: 28 kB / 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 0.0001347/0.6957, allocations: 123.9 kB / 0.9646 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.6958, allocations: 10.66 kB / 0.9647 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.6963, allocations: 215.4 kB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6963, allocations: 7.75 kB / 0.9649 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6964, allocations: 0 / 0.9649 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6964, allocations: 0 / 0.9649 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.6978, allocations: 0.9879 MB / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6978, allocations: 0 / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.698, allocations: 31.83 kB / 0.9659 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6981, allocations: 1.562 kB / 0.9659 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.6981, allocations: 10.92 kB / 0.9659 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.6981, allocations: 5.375 kB / 0.9659 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6981, allocations: 0 / 0.9659 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.6986, allocations: 299.5 kB / 0.9662 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.6987, allocations: 96.81 kB / 0.9663 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.6988, allocations: 6.5 kB / 0.9663 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.699, allocations: 17.55 kB / 0.9663 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.699, allocations: 16.67 kB / 0.9663 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.6991, allocations: 4.938 kB / 0.9663 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.928e-05/0.6992, allocations: 121.9 kB / 0.9664 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6992, allocations: 3.938 kB / 0.9664 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000488/0.6997, allocations: 130.2 kB / 0.9666 GB, free: 14.25 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.0004807/0.7001, allocations: 222.9 kB / 0.9668 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005192/0.7007, allocations: 189.2 kB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7007, allocations: 0.9688 kB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.7009, allocations: 87.38 kB / 0.967 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.7014, allocations: 48.25 kB / 0.9671 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007914/0.7022, allocations: 401 kB / 0.9675 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.7025, allocations: 0.7052 MB / 0.9681 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001781/0.7027, allocations: 35.52 kB / 0.9682 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.7027, allocations: 21.98 kB / 0.9682 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.7027, allocations: 0 / 0.9682 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.009462/0.7122, allocations: 4.133 MB / 0.9722 GB, free: 10.85 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches