Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: 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_latest_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_latest_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.002003/0.002003, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.002085/0.002086, allocations: 193.3 kB / 17.2 MB, free: 5.602 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 482.4 MB / 0.7553 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 75.45 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8762/0.8784, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003368/0.8818, allocations: 2.019 MB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.8847, allocations: 1.668 MB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.8848, allocations: 2.156 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.8849, allocations: 19.8 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.8851, allocations: 48.72 kB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.8864, allocations: 365.9 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.8867, allocations: 214.7 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.8869, allocations: 53.53 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.887, allocations: 81.41 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.8872, allocations: 87.14 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.8872, allocations: 22.78 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.8882, allocations: 401.8 kB / 1.088 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.8883, allocations: 41.08 kB / 1.088 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.8884, allocations: 85.55 kB / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007606/0.8892, allocations: 422.3 kB / 1.088 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8892, allocations: 1.094 kB / 1.088 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8892, allocations: 0 / 1.088 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.8892, allocations: 0 / 1.088 GB, free: 14.28 MB / 0.8419 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.0009361/0.8901, allocations: 0.5215 MB / 1.089 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.8902, allocations: 9.438 kB / 1.089 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006275/0.8908, allocations: 97.19 kB / 1.089 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.891, allocations: 177.2 kB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.8911, allocations: 50.05 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.8911, allocations: 14.34 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.8916, allocations: 184.3 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8916, allocations: 7.938 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.8917, allocations: 5.969 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.8917, allocations: 3.562 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.8922, allocations: 179.4 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.8937, allocations: 0.913 MB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.8943, allocations: 169.5 kB / 1.091 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.8945, allocations: 82.58 kB / 1.091 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.8952, allocations: 0.5207 MB / 1.091 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.8953, allocations: 40.86 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.8953, allocations: 0 / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007631/0.8961, allocations: 237.2 kB / 1.091 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.8961, allocations: 54.22 kB / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.8963, allocations: 157.6 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.8963, allocations: 26.92 kB / 1.092 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.8965, allocations: 122.8 kB / 1.092 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.8965, allocations: 50.45 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.8966, allocations: 37.86 kB / 1.092 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8968, allocations: 326.2 kB / 1.092 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.897, allocations: 72 kB / 1.092 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.8973, allocations: 94.47 kB / 1.092 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.8977, allocations: 157.9 kB / 1.092 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8977, allocations: 3.938 kB / 1.092 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005386/0.8982, allocations: 212.2 kB / 1.093 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8983, allocations: 9 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.8983, allocations: 1.891 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.8983, allocations: 1.156 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.8986, allocations: 43.58 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8986, allocations: 1.062 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.8988, allocations: 22.33 kB / 1.093 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.8988, allocations: 9.172 kB / 1.093 GB, free: 10.77 MB / 0.8419 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.0001371/0.8989, allocations: 131.9 kB / 1.093 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.899, allocations: 14.94 kB / 1.093 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.8996, allocations: 191.1 kB / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.8996, allocations: 5.266 kB / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8996, allocations: 0 / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8996, allocations: 0.6562 kB / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.9012, allocations: 0.9875 MB / 1.094 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9013, allocations: 9.734 kB / 1.094 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.9015, allocations: 31.5 kB / 1.094 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.9015, allocations: 1.406 kB / 1.094 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.9015, allocations: 4.172 kB / 1.094 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.9015, allocations: 1.344 kB / 1.094 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9015, allocations: 0 / 1.094 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.9021, allocations: 298.8 kB / 1.094 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.9022, allocations: 85.19 kB / 1.094 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.9022, allocations: 6.938 kB / 1.094 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.9024, allocations: 12.91 kB / 1.094 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.9025, allocations: 16.91 kB / 1.094 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.9025, allocations: 10.2 kB / 1.094 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000115/0.9026, allocations: 118.5 kB / 1.095 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9026, allocations: 0 / 1.095 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000587/0.9032, allocations: 130.8 kB / 1.095 GB, free: 9.176 MB / 0.8419 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.0004924/0.9037, allocations: 233.7 kB / 1.095 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005687/0.9043, allocations: 182.4 kB / 1.095 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.9043, allocations: 0 / 1.095 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.9046, allocations: 86.25 kB / 1.095 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.905, allocations: 47.59 kB / 1.095 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.9059, allocations: 366.9 kB / 1.096 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.9063, allocations: 0.711 MB / 1.096 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.9064, allocations: 21.5 kB / 1.096 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.9065, allocations: 4 kB / 1.096 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of Templates: time 0.009234/0.9157, allocations: 3.863 MB / 1.1 GB, free: 7.562 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches